- explicitly terminate `test/jetstream.js` upon completion
- log verbose output from `test/benchmark.js` & `test/jetstream.js`
- remove obsolete workaround for Travis CI
- "0.12"
- "4"
- "6"
+ - "8"
env:
- UGLIFYJS_TEST_ALL=1
matrix:
server.close();
if (code) throw new Error("JetStream failed!");
console.log("JetStream completed successfully.");
+ process.exit(0);
});
});
}
if (!process.env.UGLIFYJS_TEST_ALL) return;
function run(command, args, done) {
- var id = setInterval(function() {
- process.stdout.write("\0");
- }, 5 * 60 * 1000);
spawn(command, args, {
- stdio: "ignore"
+ stdio: [ "ignore", 1, 2 ]
}).on("exit", function(code) {
- clearInterval(id);
assert.strictEqual(code, 0);
done();
});