summaryrefslogtreecommitdiffstats
path: root/tools/slang-test/test-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/slang-test/test-context.cpp')
-rw-r--r--tools/slang-test/test-context.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/slang-test/test-context.cpp b/tools/slang-test/test-context.cpp
index e3655e61d..a864cb326 100644
--- a/tools/slang-test/test-context.cpp
+++ b/tools/slang-test/test-context.cpp
@@ -196,6 +196,12 @@ SlangResult TestContext::_createJSONRPCConnection(RefPtr<JSONRPCConnection>& out
{
CommandLine cmdLine;
cmdLine.setExecutableLocation(ExecutableLocation(exeDirectoryPath, "test-server"));
+
+ if (options.ignoreAbortMsg)
+ {
+ cmdLine.addArg("-ignore-abort-msg");
+ }
+
SLANG_RETURN_ON_FAIL(Process::create(
cmdLine,
Process::Flag::AttachDebugger | Process::Flag::DisableStdErrRedirection,