From 9809567dfc4d5c3f23c7e6424da9a471a964584a Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sun, 7 Jan 2018 17:53:50 +0800 Subject: improve `process.exit()` workaround (#2741) - use public API - fix issue with Node.js 0.10 on WIndows --- test/jetstream.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'test/jetstream.js') diff --git a/test/jetstream.js b/test/jetstream.js index 1cc6d4a7..7ee09df3 100644 --- a/test/jetstream.js +++ b/test/jetstream.js @@ -5,11 +5,7 @@ var site = "http://browserbench.org/JetStream"; if (typeof phantom == "undefined") { - // workaround for tty output truncation upon process.exit() - [process.stdout, process.stderr].forEach(function(stream){ - if (stream._handle && stream._handle.setBlocking) - stream._handle.setBlocking(true); - }); + require("../tools/exit"); var args = process.argv.slice(2); var debug = args.indexOf("--debug"); if (debug >= 0) { -- cgit v1.2.3 s='sub'>Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/swh.scm
AgeCommit message (Expand)Author