From b7968ca4a7db24e204d28ea5437e438b2656228f Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Wed, 15 Sep 2021 17:37:04 +0200 Subject: [PATCH] Fixed: Make sure output from the tool 'ojtest' gets to the terminal. Also suspend stack trace etc. when the tests fails with a try ... catch. --- Jakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jakefile b/Jakefile index 9fddc05cb..16a3f7a93 100644 --- a/Jakefile +++ b/Jakefile @@ -342,7 +342,13 @@ task("test-only", function() var cmd = ["ojtest"].concat(tests.items()); var cmdString = cmd.map(utilsFile.enquote).join(" "); - childProcess.execSync(cmdString); + try + { + childProcess.execSync(cmdString, {stdio: 'inherit'}); + } + catch (e) + { + } }); task("check-missing-imports", function()