From 7546d3ee5ad6c2d9bd055864837af681a9a52c84 Mon Sep 17 00:00:00 2001 From: Aaron Robinson Date: Tue, 11 Sep 2018 16:09:49 -0700 Subject: [PATCH] Address msbuild issues with cross compiled tests in helix --- tests/src/Interop/COM/Activator/Activator.csproj | 2 +- tests/src/dir.props | 9 ++++++--- tests/src/dir.targets | 12 ++++++------ tests/src/runonly.targets | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/tests/src/Interop/COM/Activator/Activator.csproj b/tests/src/Interop/COM/Activator/Activator.csproj index 51b89ebd4050..792b8be2fef0 100644 --- a/tests/src/Interop/COM/Activator/Activator.csproj +++ b/tests/src/Interop/COM/Activator/Activator.csproj @@ -12,7 +12,7 @@ true - true + true diff --git a/tests/src/dir.props b/tests/src/dir.props index c5cc702882df..9c367e208de4 100644 --- a/tests/src/dir.props +++ b/tests/src/dir.props @@ -78,7 +78,10 @@ - true + + true win-$(__BuildArch) @@ -111,8 +114,8 @@ - $(__RuntimeId) - $(TestNugetRuntimeId) + $(__RuntimeId) + $(TestNugetRuntimeId) diff --git a/tests/src/dir.targets b/tests/src/dir.targets index 64f0d804f85d..147c70eaa11f 100644 --- a/tests/src/dir.targets +++ b/tests/src/dir.targets @@ -76,11 +76,11 @@ - - false + + false <_WillCLRTestProjectBuild Condition="'$(_WillCLRTestProjectBuild)' == ''">false - <_WillCLRTestProjectBuild Condition="'$(BuildAllProjects)' != true">true - <_WillCLRTestProjectBuild Condition="'$(DisableProjectBuild)' != true And '$(BuildAllProjects)' == true And '$(CLRTestPriority)' <= '$(CLRTestPriorityToBuild)'">true + <_WillCLRTestProjectBuild Condition="'$(BuildAllProjects)' != 'true'">true + <_WillCLRTestProjectBuild Condition="'$(DisableProjectBuild)' != 'true' And '$(BuildAllProjects)' == 'true' And '$(CLRTestPriority)' <= '$(CLRTestPriorityToBuild)'">true @@ -91,7 +91,7 @@ - + @@ -114,7 +114,7 @@ diff --git a/tests/src/runonly.targets b/tests/src/runonly.targets index 2e01bc7ec8e8..9ae83c648a74 100644 --- a/tests/src/runonly.targets +++ b/tests/src/runonly.targets @@ -5,7 +5,7 @@ - +