From: Kalervo Kujala Date: Tue, 10 Jan 2012 17:21:43 +0000 (+0200) Subject: Use correct default rule for unit test. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=91c935180ed4a2f116e67d38645fa4e9a6c79df9;p=pdf.js.git Use correct default rule for unit test. --- diff --git a/test/unit/Makefile b/test/unit/Makefile index 516addc..811f915 100644 --- a/test/unit/Makefile +++ b/test/unit/Makefile @@ -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