summaryrefslogtreecommitdiff
path: root/tests/src/dir.props
diff options
context:
space:
mode:
authorRoman Artemev <rartemev@microsoft.com>2017-03-08 15:37:31 -0800
committerRoman Artemev <rartemev@microsoft.com>2017-05-19 15:58:24 -0700
commitaad6903366ed6d70f218b92bfc762feb29a73773 (patch)
tree1370d2167bc6818b89a3a5b9669a23e3967751a0 /tests/src/dir.props
parent7c41871f582fedc751ee6cabd95df3fbad36d847 (diff)
downloadcoreclr-aad6903366ed6d70f218b92bfc762feb29a73773.tar.gz
coreclr-aad6903366ed6d70f218b92bfc762feb29a73773.tar.bz2
coreclr-aad6903366ed6d70f218b92bfc762feb29a73773.zip
Test build fixes for Linux
Diffstat (limited to 'tests/src/dir.props')
-rw-r--r--tests/src/dir.props11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/src/dir.props b/tests/src/dir.props
index abad765fe4..0ccd6e9446 100644
--- a/tests/src/dir.props
+++ b/tests/src/dir.props
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="dir.common.props" />
@@ -18,11 +19,11 @@
<!-- Expose the target OS in a more convenient fashion -->
<PropertyGroup>
- <OSGroup Condition="'$(OSGroup)'=='' and $(Configuration.StartsWith('Windows'))">Windows_NT</OSGroup>
- <OSGroup Condition="'$(OSGroup)'=='' and $(Configuration.StartsWith('Linux'))">Linux</OSGroup>
- <OSGroup Condition="'$(OSGroup)'=='' and $(Configuration.StartsWith('OSX'))">OSX</OSGroup>
- <OSGroup Condition="'$(OSGroup)'=='' and $(Configuration.StartsWith('FreeBSD'))">FreeBSD</OSGroup>
- <OSGroup Condition="'$(OSGroup)'==''">Windows_NT</OSGroup>
+ <OSGroup Condition="'$(OSGroup)'=='' and $(OSPlatformConfig.StartsWith('Windows'))">Windows_NT</OSGroup>
+ <OSGroup Condition="'$(OSGroup)'=='' and $(OSPlatformConfig.StartsWith('Linux'))">Linux</OSGroup>
+ <OSGroup Condition="'$(OSGroup)'=='' and $(OSPlatformConfig.StartsWith('OSX'))">OSX</OSGroup>
+ <OSGroup Condition="'$(OSGroup)'=='' and $(OSPlatformConfig.StartsWith('FreeBSD'))">FreeBSD</OSGroup>
+ <OSGroup Condition="'$(OSGroup)'==''">AnyOS</OSGroup>
</PropertyGroup>
<!-- Setup properties per OSGroup -->