Browse Source

Makefile: Add separate eunit and ct test rules.

Loïc Hoguin 14 years ago
parent
commit
cc663df5db
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -12,8 +12,12 @@ clean:
 	rm -f test/*.beam
 	rm -f test/*.beam
 	rm -f erl_crash.dump
 	rm -f erl_crash.dump
 
 
-tests: app
+tests: app eunit ct
+
+eunit:
 	@$(REBAR) eunit
 	@$(REBAR) eunit
+
+ct:
 	@$(REBAR) ct
 	@$(REBAR) ct
 
 
 dialyze:
 dialyze: