Verified Commit 2e3dedb0 authored by Camil Staps's avatar Camil Staps 🚀

Enhance test script

parent fa821597
......@@ -152,4 +152,11 @@ fs.readdir('tests', function(err, files) {
htmlResults += '</table></body></html>';
fs.writeFileSync('test_results.html', htmlResults);
if (failed > 0) {
process.stderr.write('\n' + RED + failed + ' test(s) out of ' + (passed+failed) +
' failed; see test_results.html for the differences.' + RESET + '\n');
} else {
process.stderr.write('\n' + GREEN + 'All is well.' + RESET + '\n');
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment