Merge pull request #179 from v1o/master

Passed test results failed count as exit code
1.4
Ariya Hidayat 2011-12-11 12:53:32 -08:00
commit ddd7774f87
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ jasmineEnv.addReporter(new jasmine.ConsoleReporter(function(msg){
console.log(msg.replace('\n', ''));
}, function(reporter){
// On complete
phantom.exit();
phantom.exit(reporter.results().failedCount);
}, true));
// Launch tests