Use correct default rule for unit test.

This commit is contained in:
Kalervo Kujala 2012-01-10 19:21:43 +02:00
parent aeaaea35a8
commit 91c935180e

View 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