From 0ac19741937e007ebb45791f53d413d21055feda Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 10 Jan 2022 13:16:30 -0800 Subject: Enable running tests in parallel. (#2078) * Enable running tests in parallel. * Fix linux build. * Add pthread dependency for slang-test. * Fix teamcity output. * Fix race condition. * Make testReporter thread safe. * Clean up. * Fix. * trigger build * Fix. Co-authored-by: Yong He Co-authored-by: Theresa Foley --- source/compiler-core/slang-visual-studio-compiler-util.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/compiler-core') diff --git a/source/compiler-core/slang-visual-studio-compiler-util.cpp b/source/compiler-core/slang-visual-studio-compiler-util.cpp index e2c488ee9..9bdfd406a 100644 --- a/source/compiler-core/slang-visual-studio-compiler-util.cpp +++ b/source/compiler-core/slang-visual-studio-compiler-util.cpp @@ -87,8 +87,7 @@ namespace Slang // https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically?view=vs-2019 cmdLine.addArg("/nologo"); - // Generate complete debugging information - cmdLine.addArg("/Zi"); + // Display full path of source files in diagnostics cmdLine.addArg("/FC"); @@ -139,6 +138,8 @@ namespace Slang // /Fd - followed by name of the pdb file if (options.debugInfoType != DebugInfoType::None) { + // Generate complete debugging information + cmdLine.addArg("/Zi"); cmdLine.addPrefixPathArg("/Fd", options.modulePath, ".pdb"); } -- cgit v1.2.3