.PHONY: test test-junit | |
TEST = greeting-test | |
MKDIR_P = mkdir -p | |
test: $(TEST) | |
@for x in $^; do \ | |
echo $(bin_output_path)/$$x; \ | |
$(bin_output_path)/$$x; \ | |
done | |
test-junit: $(TEST) | |
$(MKDIR_P) $(output_path)/test-results | |
@for x in $^; do \ | |
echo $(bin_output_path)/$$x -r junit -o $(output_path)/test-results/$$x.xml --success; \ | |
$(bin_output_path)/$$x -r junit -o $(output_path)/test-results/$$x.xml --success || :; \ | |
done |