Skip to content

Commit

Permalink
Make failing tests exit with non-zero status
Browse files Browse the repository at this point in the history
Travis has been thinking everything passes, but the tests have been broken for a while
  • Loading branch information
danielbeardsley committed Jul 21, 2012
1 parent 712dcfb commit 304c40f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ catch(e) {
}

process.chdir(__dirname);
reporter.run(['test/']);
reporter.run(['test/'], null, function(failure) {
process.exit(failure ? 1 : 0)
});

0 comments on commit 304c40f

Please sign in to comment.