Now, 'error' events from the test runner are output to stderr. Additionally, when debug is enabled, debug output is logged to stderr instead of stdout (as was the case previously).
@@ -297,10 +297,16 @@ if (!program.outputHtml && !program.generateHtml) {
if (program.debug) {
provider.on('console', function(line) {
- console.log(line);
+ // log to stderr
+ console.error(line);
});
}
+ provider.on('error', function(line) {
+ console.error('ERROR: ' + line);
+ });
+
/*gprom.finally(function(ph) {
ph.exit();
// exit with a status code that actually gives information