From dc12304a2b1968c756d4dc6b890518c6a829fcb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tom=C3=A1=C5=A1=20Rylek?= Date: Fri, 8 Nov 2019 06:45:18 -0800 Subject: [PATCH] Fix exclusion of the Common folder in runtest.proj (dotnet/coreclr#27767) As XunitTestBinBase is not required to be canonical - in fact, it is based on BaseOutputPath which is defined in tests/Directory.Build.props as $(ProjectDir)..\bin\tests - we must canonicalize the constructed paths to exclusion folders (_SkipTestDir) before excluding them from the list of all test dirs canonicalized in the same manner, otherwise the two lists get out of sync and we end up not exluding Common from the test folders. This in turn causes repeated build of Coreclr.TestWrapper under Common, causing various race conditions in parallel wrapper build. Thanks Tomas Commit migrated from https://github.com/dotnet/coreclr/commit/969a31f4fcd44d0b33995c02e6cfa3a9a967688d --- src/coreclr/tests/src/runtest.proj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coreclr/tests/src/runtest.proj b/src/coreclr/tests/src/runtest.proj index 9f2c2a0..c7b3483 100644 --- a/src/coreclr/tests/src/runtest.proj +++ b/src/coreclr/tests/src/runtest.proj @@ -26,7 +26,8 @@ $([System.IO.Path]::GetFullPath(%(Identity))) - + + -- 2.7.4