Skip to content

Commit

Permalink
Merge pull request #512 from cgzones/test_failure
Browse files Browse the repository at this point in the history
exit on single unit test failure
  • Loading branch information
jrossi committed Feb 1, 2015
2 parents 47ff4d3 + f32d061 commit ed069cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ test: build_tests
${MAKE} run_tests

run_tests:
@$(foreach bin,${test_programs},./${bin};)
@$(foreach bin,${test_programs},./${bin} || exit 1;)

build_tests: external
${MAKE} DEBUG=1 TEST=1 ${test_programs}
Expand Down

0 comments on commit ed069cc

Please sign in to comment.