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.
This commit is contained in:
Martin Carlberg
2021-09-15 17:37:04 +02:00
parent 2a0a6449e5
commit b7968ca4a7
+7 -1
View File
@@ -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()