Browse Source

Reorder the test-dir options to make it more like compile_erl

Loïc Hoguin 6 years ago
parent
commit
b53cdec305
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/test.mk

+ 2 - 2
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),)