diff options
author | Eric StJohn <ericstj@microsoft.com> | 2018-04-05 15:56:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 15:56:57 +0300 |
commit | 9372f2b28deb352bc712dbb7bdbabcb91993d2e3 (patch) | |
tree | 4cad6f56e34d0b574dc8d76c0db3e815dea2c4e4 | |
parent | 61ad2cb0d55785148350af5777a100d5222924ce (diff) |
Ensure we use a unique path to package test semaphore (#28827)
* Ensure we use a unique path to package test semaphore
* Use Rid in semaphore filename instead of path
-rw-r--r-- | pkg/test/packageTest.targets | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/test/packageTest.targets b/pkg/test/packageTest.targets index 9287f897f0..3f13ea9bab 100644 --- a/pkg/test/packageTest.targets +++ b/pkg/test/packageTest.targets @@ -101,7 +101,7 @@ <Target Name="_test" DependsOnTargets="$(TestDependsOn)"> <MakeDir Directories="$(IntermediateOutputPath)" /> - <Touch AlwaysCreate="true" Files="$(IntermediateOutputPath)\.testComplete" /> + <Touch AlwaysCreate="true" Files="$(IntermediateOutputPath)\$(RuntimeIdentifier).testComplete" /> </Target> <Target Name="_getTestProjects"> @@ -113,7 +113,7 @@ <Semaphore>$(IntermediateOutputPath)\.testComplete</Semaphore> </TestProject> <TestProject Include="$(MSBuildProjectFullPath)"> - <Semaphore>$(IntermediateOutputPath)\%(_projectRuntime.Identity)\.testComplete</Semaphore> + <Semaphore>$(IntermediateOutputPath)\%(_projectRuntime.Identity).testComplete</Semaphore> <AdditionalProperties>RuntimeIdentifier=%(_projectRuntime.Identity)</AdditionalProperties> </TestProject> </ItemGroup> @@ -126,4 +126,4 @@ Outputs="@(TestProject->'%(Semaphore)')"> <MSBuild Projects="@(TestProject)" Targets="_test" BuildInParallel="true" /> </Target> -</Project>
\ No newline at end of file +</Project> |