blob: bf943c6886eb976f24688fe6518b39b074452b65 [file] [log] [blame]
.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