Commit 9061eea1 9061eea14939b13efc873ccb26f045ae7c516e2c by Nicolas Perriault

fixed Tester.renderResults() was returning exit(0) event on failure by default

1 parent c8d40969
......@@ -461,7 +461,7 @@ var Tester = function(casper, options) {
}
}
if (exit === true) {
casper.exit(status || 0);
casper.exit(status || (this.testResults.failed > 0 ? 1 : 0));
}
};
......