diff --git a/tests/run_from_console.js b/tests/run_from_console.js index 3a793603..06b40917 100755 --- a/tests/run_from_console.js +++ b/tests/run_from_console.js @@ -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) { + // log to stderr + console.error('ERROR: ' + line); + }); + /*gprom.finally(function(ph) { ph.exit(); // exit with a status code that actually gives information