diff --git a/src/test/debuggerTest.ts b/src/test/debuggerTest.ts index a1118b5cba48..466a845947f8 100644 --- a/src/test/debuggerTest.ts +++ b/src/test/debuggerTest.ts @@ -19,6 +19,9 @@ function start() { extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'), launchArgs: [workspacePath], version: 'stable' - }).catch(console.error); + }).catch(ex => { + console.error('End Debugger tests (with errors)', ex); + process.exit(1); + }); } start(); diff --git a/src/test/multiRootTest.ts b/src/test/multiRootTest.ts index 47e22ed9537e..0d2ea8ccb4eb 100644 --- a/src/test/multiRootTest.ts +++ b/src/test/multiRootTest.ts @@ -15,6 +15,9 @@ function start() { extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'), launchArgs: [workspacePath], version: 'stable' - }).catch(console.error); + }).catch(ex => { + console.error('End Multiroot tests (with errors)', ex); + process.exit(1); + }); } start(); diff --git a/src/test/standardTest.ts b/src/test/standardTest.ts index 6295397e2315..05ae0bcf5483 100644 --- a/src/test/standardTest.ts +++ b/src/test/standardTest.ts @@ -18,8 +18,7 @@ function start() { launchArgs: [workspacePath], version: 'stable' }).catch(ex => { - console.error('End Standard tests (with errors)'); - console.error(ex); + console.error('End Standard tests (with errors)', ex); if (process.env.IS_SMOKE_TEST) { process.exit(1); } diff --git a/src/test/testBootstrap.ts b/src/test/testBootstrap.ts index 3a15660463a2..8fa4423bd012 100644 --- a/src/test/testBootstrap.ts +++ b/src/test/testBootstrap.ts @@ -108,4 +108,7 @@ async function start() { proc.once('close', end); } -start().catch(ex => console.error(ex)); +start().catch(ex => { + console.error('File testBootstrap.ts failed with Errors', ex); + process.exit(1); +});