]> git.parisson.com Git - pdf.js.git/commitdiff
Use correct default rule for unit test.
authorKalervo Kujala <kkujala@com>
Tue, 10 Jan 2012 17:21:43 +0000 (19:21 +0200)
committerKalervo Kujala <kkujala@com>
Tue, 10 Jan 2012 17:21:43 +0000 (19:21 +0200)
test/unit/Makefile

index 516addc59a1fdaf0113ad740ff27984b8502fe73..811f9155ed9db6105f11f296198f677add94e73e 100644 (file)
@@ -88,6 +88,12 @@ PROG:=java \
 --tests all \
 --testOutput ./test_reports/
 
+# This default rule runs the unit tests with the constructed command.
+test:
+       @mkdir -p $(PROFILES)
+       $(PROG)
+       @rm -rf $(PROFILES)
+
 # In case this Makefile needs to be debugged then this rule will provide all
 # the information from intermediate steps.
 debug:
@@ -106,11 +112,5 @@ debug:
        @echo 'Command to be run: $(PROG)'
        @echo
 
-# This rule runs the unit tests with the constructed command.
-test:
-       @mkdir -p $(PROFILES)
-       $(PROG)
-       @rm -rf $(PROFILES)
-
 .phony:: test