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 --- premake5.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'premake5.lua') diff --git a/premake5.lua b/premake5.lua index a7f213b95..69f18a5b4 100644 --- a/premake5.lua +++ b/premake5.lua @@ -793,12 +793,13 @@ end uuid "0C768A18-1D25-4000-9F37-DA5FE99E3B64" includedirs { "." } links { "compiler-core", "slang", "core", "miniz", "lz4" } - -- We want to set to the root of the project, but that doesn't seem to work with '.'. -- So set a path that resolves to the same place. - debugdir("source/..") - + if not targetInfo.isWindows then + links { "pthread" } + end + -- -- The reflection test harness `slang-reflection-test` is pretty -- simple, in that it only needs to link against the slang library -- cgit v1.2.3