summaryrefslogtreecommitdiff
path: root/tests/src/dir.props
diff options
context:
space:
mode:
authorRahul Kumar <rahku@microsoft.com>2016-03-01 15:31:11 -0800
committerRahul Kumar <rahku@microsoft.com>2016-03-04 09:55:48 -0800
commita6947022eeab93b83f13fbeb092c664a6ae24f15 (patch)
tree3701031f9e4cf9bbdb1859f52124664b45da9564 /tests/src/dir.props
parentfdc40a40581f6a601ba508e33ad641640a956f91 (diff)
downloadcoreclr-a6947022eeab93b83f13fbeb092c664a6ae24f15.tar.gz
coreclr-a6947022eeab93b83f13fbeb092c664a6ae24f15.tar.bz2
coreclr-a6947022eeab93b83f13fbeb092c664a6ae24f15.zip
add TargetsWindows property required by cloudtest.targets in buildtools package
Diffstat (limited to 'tests/src/dir.props')
-rw-r--r--tests/src/dir.props44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/src/dir.props b/tests/src/dir.props
index 40d9019ed5..24a19cc0e7 100644
--- a/tests/src/dir.props
+++ b/tests/src/dir.props
@@ -23,4 +23,48 @@
<OSGroup Condition="'$(OSGroup)'==''">Windows_NT</OSGroup>
</PropertyGroup>
+ <!-- Setup properties per OSGroup -->
+ <Choose>
+ <When Condition="'$(OSGroup)'=='AnyOS'">
+ <PropertyGroup>
+ </PropertyGroup>
+ </When>
+ <When Condition="'$(OSGroup)'=='Windows_NT'">
+ <PropertyGroup>
+ <TargetsWindows>true</TargetsWindows>
+ <TestNugetRuntimeId>win7-x64</TestNugetRuntimeId>
+ </PropertyGroup>
+ </When>
+ <When Condition="'$(OSGroup)'=='Linux'">
+ <PropertyGroup>
+ <TargetsUnix>true</TargetsUnix>
+ <TargetsLinux>true</TargetsLinux>
+ <TestNugetRuntimeId>ubuntu.14.04-x64</TestNugetRuntimeId>
+ </PropertyGroup>
+ </When>
+ <When Condition="'$(OSGroup)'=='OSX'">
+ <PropertyGroup>
+ <TargetsUnix>true</TargetsUnix>
+ <TargetsOSX>true</TargetsOSX>
+ <TestNugetRuntimeId>osx.10.10-x64</TestNugetRuntimeId>
+ </PropertyGroup>
+ </When>
+ <When Condition="'$(OSGroup)'=='FreeBSD'">
+ <PropertyGroup>
+ <TargetsUnix>true</TargetsUnix>
+ <TargetsFreeBSD>true</TargetsFreeBSD>
+ <TestNugetRuntimeId>ubuntu.14.04-x64</TestNugetRuntimeId>
+ </PropertyGroup>
+ </When>
+ <Otherwise>
+ <PropertyGroup>
+ <ConfigurationErrorMsg>$(ConfigurationErrorMsg);Unknown OSGroup [$(OSGroup)] specificed in your project.</ConfigurationErrorMsg>
+ </PropertyGroup>
+ </Otherwise>
+ </Choose>
+
+ <PropertyGroup>
+ <TargetsUnknownUnix Condition="'$(TargetsUnix)' == 'true' AND '$(OSGroup)' != 'FreeBSD' AND '$(OSGroup)' != 'Linux' AND '$(OSGroup)' != 'OSX'">true</TargetsUnknownUnix>
+ </PropertyGroup>
+
</Project>