tests: actually output from the right command

This commit is contained in:
Jared Allard
2016-02-24 22:03:12 -08:00
parent cfd01c60c6
commit f8b9de750f
+4 -4
View File
@@ -67,6 +67,10 @@ const compileTest = function(test, cb) {
return cb(err);
});
testinst.stdout.on('data', function(d) {
process.stdout.write(d.toString('ascii'));
});
});
};
@@ -122,10 +126,6 @@ const runTest = function(test, args, cb) {
return cb(false);
}
});
testinst.stdout.on('data', function(d) {
process.stdout.write(d.toString('ascii'));
})
}
console.log('NOTICE: The first test may take awhile as it may compile Node.js');