From 3e41d698714a3ab6235e9275d5e0687a1c5db9c9 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 16 Aug 2023 19:01:39 -0700 Subject: Run vk tests on spirv backend with expected failure list. (#3128) --- tools/slang-test/test-context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/slang-test/test-context.cpp') diff --git a/tools/slang-test/test-context.cpp b/tools/slang-test/test-context.cpp index e0f2749b9..39f5c92ed 100644 --- a/tools/slang-test/test-context.cpp +++ b/tools/slang-test/test-context.cpp @@ -186,11 +186,12 @@ SlangResult TestContext::_createJSONRPCConnection(RefPtr& out { CommandLine cmdLine; cmdLine.setExecutableLocation(ExecutableLocation(exeDirectoryPath, "test-server")); - SLANG_RETURN_ON_FAIL(Process::create(cmdLine, Process::Flag::AttachDebugger, process)); + SLANG_RETURN_ON_FAIL(Process::create(cmdLine, Process::Flag::AttachDebugger | Process::Flag::DisableStdErrRedirection, process)); } Stream* writeStream = process->getStream(StdStreamType::In); RefPtr readStream(new BufferedReadStream(process->getStream(StdStreamType::Out))); + RefPtr readErrStream(new BufferedReadStream(process->getStream(StdStreamType::ErrorOut))); RefPtr connection = new HTTPPacketConnection(readStream, writeStream); RefPtr rpcConnection = new JSONRPCConnection; -- cgit v1.2.3