aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-23 17:42:11 +0100
committerLoïc Hoguin <[email protected]>2018-11-23 17:42:11 +0100
commitb53cdec30573ebad5b1c655c99d803c6adee2bcc (patch)
tree4ce055bf06f23dbc733a01d5c7419d9aadab88ea
parent30ac929bf7a79963c8aa5e2bfef62dc932f90186 (diff)
downloaderlang.mk-b53cdec30573ebad5b1c655c99d803c6adee2bcc.tar.gz
erlang.mk-b53cdec30573ebad5b1c655c99d803c6adee2bcc.tar.bz2
erlang.mk-b53cdec30573ebad5b1c655c99d803c6adee2bcc.zip
Reorder the test-dir options to make it more like compile_erl
-rw-r--r--core/test.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/test.mk b/core/test.mk
index c0c7199..3cdcfb7 100644
--- a/core/test.mk
+++ b/core/test.mk
@@ -25,8 +25,8 @@ endif
ifneq ($(wildcard $(TEST_DIR)),)
test-dir:
- $(gen_verbose) erlc -v $(TEST_ERLC_OPTS) -I include/ -o $(TEST_DIR) \
- $(call core_find,$(TEST_DIR)/,*.erl) -pa ebin/
+ $(gen_verbose) erlc -v $(TEST_ERLC_OPTS) -o $(TEST_DIR) \
+ -pa ebin/ -I include/ $(call core_find,$(TEST_DIR)/,*.erl)
endif
ifeq ($(wildcard src),)