summaryrefslogtreecommitdiff
path: root/tests/dir.props
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dir.props')
-rw-r--r--tests/dir.props10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/dir.props b/tests/dir.props
index 296a29a4d7..5e31468e4c 100644
--- a/tests/dir.props
+++ b/tests/dir.props
@@ -54,6 +54,8 @@
<BinDir>$(__BinDir)\</BinDir>
<BinDir Condition="'$(__BinDir)'==''">$(RootBinDir)Product\$(BuildOS).$(BuildArch).$(BuildType)\</BinDir>
+ <TestWorkingDir Condition="'$(__TestWorkingDir)'==''">$(RootBinDir)tests\$(BuildOS).$(BuildArch).$(BuildType)\</TestWorkingDir>
+
<AltJitArch>$(__AltJitArch)</AltJitArch>
</PropertyGroup>
@@ -132,5 +134,13 @@
<PropertyGroup>
<CLRTestPriorityToBuild>0</CLRTestPriorityToBuild>
</PropertyGroup>
+
+ <!-- Where to put a "testhost" for running corefx tests -->
+ <PropertyGroup>
+ <TestHostVersion>$(ProductVersion)</TestHostVersion>
+ <TestHostRootPath>$([MSBuild]::NormalizeDirectory('$(TestWorkingDir)', 'testhost'))</TestHostRootPath>
+ <NETCoreAppTestHostFxrPath>$([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'host', 'fxr', '$(TestHostVersion)'))</NETCoreAppTestHostFxrPath>
+ <NETCoreAppTestSharedFrameworkPath>$([MSBuild]::NormalizeDirectory('$(TestHostRootPath)', 'shared', 'Microsoft.NETCore.App', '$(TestHostVersion)'))</NETCoreAppTestSharedFrameworkPath>
+ </PropertyGroup>
</Project>