summaryrefslogtreecommitdiff
path: root/tests/src/dir.props
diff options
context:
space:
mode:
authorChris Sienkiewicz <chsienki@microsoft.com>2018-08-03 10:11:32 -0700
committerGitHub <noreply@github.com>2018-08-03 10:11:32 -0700
commit101baee1010eaad47cd7afd1e041a7f422aefa78 (patch)
tree3257365fa66dabb5e71d0dca0d88773841c7f405 /tests/src/dir.props
parent1ef1f2a27c2e79ce0eaab59a6cefe84d8a79fc95 (diff)
downloadcoreclr-101baee1010eaad47cd7afd1e041a7f422aefa78.tar.gz
coreclr-101baee1010eaad47cd7afd1e041a7f422aefa78.tar.bz2
coreclr-101baee1010eaad47cd7afd1e041a7f422aefa78.zip
Build managed tests with dotnet (#19254)
* Change managed projects to build with dotnet msbuild, rather than desktop msbuild * Build sdk tests as AnyCPU * Correct args passed through to dotnet for tests * Remove extra backslash from baseIntermediateOutputPath that was causing individual test exe builds to fail * Fix double import warning for sdk projects * Add default params from config.json to build-test dotnet invocations * Fix priority argument passing from the command line for tests
Diffstat (limited to 'tests/src/dir.props')
-rw-r--r--tests/src/dir.props4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/dir.props b/tests/src/dir.props
index 2730073435..c5cc702882 100644
--- a/tests/src/dir.props
+++ b/tests/src/dir.props
@@ -1,7 +1,7 @@
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\dir.props" />
- <Import Project="..\dir.common.props" />
+ <Import Project="..\dir.common.props" Condition="'$(UsingMicrosoftNETSdk)' != 'true'" />
<!-- Setup Default symbol and optimization for Configuration -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
@@ -37,7 +37,7 @@
<BaseOutputPath Condition="'$(__TestRootDir)' != ''">$(__TestRootDir)</BaseOutputPath>
<BaseOutputPathWithConfig>$(BaseOutputPath)\$(OSPlatformConfig)\</BaseOutputPathWithConfig>
<BinDir>$(BaseOutputPathWithConfig)</BinDir>
- <BaseIntermediateOutputPath>$(ProjectDir)\..\bin\tests\obj\$(OSPlatformConfig)\Managed\</BaseIntermediateOutputPath>
+ <BaseIntermediateOutputPath>$(ProjectDir)..\bin\tests\obj\$(OSPlatformConfig)\Managed\</BaseIntermediateOutputPath>
<BaseIntermediateOutputPath Condition="'$(__ManagedTestIntermediatesDir)' != ''">$(__ManagedTestIntermediatesDir)\</BaseIntermediateOutputPath>
<__NativeTestIntermediatesDir Condition="'$(__NativeTestIntermediatesDir)' == ''">$([System.IO.Path]::GetFullPath($(BaseOutputPathWithConfig)..\obj\$(BuildOS).$(Platform).$(Configuration)\Native\))</__NativeTestIntermediatesDir>
<BuildProjectRelativeDir>$(MSBuildProjectName)\</BuildProjectRelativeDir>