Skip to content
Snippets Groups Projects
Commit fe290f3e authored by David Bühler's avatar David Bühler Committed by Virgile Prevosto
Browse files

[Makefile] Do not warn about missing .mli files on test files.

parent 6ba441aa
No related branches found
No related tags found
No related merge requests found
...@@ -1426,7 +1426,7 @@ else ...@@ -1426,7 +1426,7 @@ else
$(sort $(shell find $(TEST_DIRS_AS_PLUGIN:%=tests/%) -not -path '*/\.*' -name '*.ml')) $(sort $(shell find $(TEST_DIRS_AS_PLUGIN:%=tests/%) -not -path '*/\.*' -name '*.ml'))
endif endif
$(foreach file,$(LONELY_TESTS_ML_FILES),\ $(foreach file,$(LONELY_TESTS_ML_FILES),\
$(eval $(file:%.ml=%.cmo): BFLAGS+=-I $(dir $(file)))) $(eval $(file:%.ml=%.cmo): BFLAGS+=-w -70 -I $(dir $(file))))
$(foreach file,$(LONELY_TESTS_ML_FILES),\ $(foreach file,$(LONELY_TESTS_ML_FILES),\
$(eval $(file:%.ml=%.cmx): OFLAGS+=-I $(dir $(file)))) $(eval $(file:%.ml=%.cmx): OFLAGS+=-I $(dir $(file))))
$(foreach file,$(LONELY_TESTS_ML_FILES),\ $(foreach file,$(LONELY_TESTS_ML_FILES),\
......
...@@ -444,7 +444,7 @@ $(NAME_OFLAGS):=$(OFLAGS) $(INCLUDE_FLAGS) $(PLUGIN_OFLAGS) ...@@ -444,7 +444,7 @@ $(NAME_OFLAGS):=$(OFLAGS) $(INCLUDE_FLAGS) $(PLUGIN_OFLAGS)
# DO NOT include the plugin's own directory as search path for compiling # DO NOT include the plugin's own directory as search path for compiling
# ml test scripts: they will be loaded in a separate phase, and will only see # ml test scripts: they will be loaded in a separate phase, and will only see
# the plugin through its static API # the plugin through its static API
$(NAME_TEST_BFLAGS):= $(BFLAGS) $(INCLUDE_EXT_FLAGS) $(PLUGIN_BFLAGS) $(NAME_TEST_BFLAGS):= $(BFLAGS) -w -70 $(INCLUDE_EXT_FLAGS) $(PLUGIN_BFLAGS)
$(NAME_TEST_OFLAGS):= $(OFLAGS) $(INCLUDE_EXT_FLAGS) $(PLUGIN_OFLAGS) $(NAME_TEST_OFLAGS):= $(OFLAGS) $(INCLUDE_EXT_FLAGS) $(PLUGIN_OFLAGS)
$(TARGET_BFLAGS):= $(PLUGIN_LINK_BFLAGS) $(TARGET_BFLAGS):= $(PLUGIN_LINK_BFLAGS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment