From 91c935180ed4a2f116e67d38645fa4e9a6c79df9 Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Tue, 10 Jan 2012 19:21:43 +0200 Subject: [PATCH] Use correct default rule for unit test. --- test/unit/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/unit/Makefile b/test/unit/Makefile index 516addc59..811f9155e 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