summaryrefslogtreecommitdiff
path: root/tests/src/dir.props
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2015-11-05 11:32:13 -0800
committerPat Gavlin <pagavlin@microsoft.com>2015-11-05 13:02:53 -0800
commit48d7ad4d10a6137d128014daf6a9fd4dc4718b25 (patch)
tree265c4fbb620e7762935a2eeffde1aedbdb83ba4a /tests/src/dir.props
parent33cf5d6bf3f55947c3242ebf1762ad73c7a24a4f (diff)
downloadcoreclr-48d7ad4d10a6137d128014daf6a9fd4dc4718b25.tar.gz
coreclr-48d7ad4d10a6137d128014daf6a9fd4dc4718b25.tar.bz2
coreclr-48d7ad4d10a6137d128014daf6a9fd4dc4718b25.zip
Add some targeted by-value struct passing tests.
These tests target the SysV AMD64 ABI in particular, which relies on field types to decide how to pass by-value structs.
Diffstat (limited to 'tests/src/dir.props')
-rw-r--r--tests/src/dir.props9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/src/dir.props b/tests/src/dir.props
index 8803c7fafd..40d9019ed5 100644
--- a/tests/src/dir.props
+++ b/tests/src/dir.props
@@ -14,4 +14,13 @@
<SkipSigning Condition="'$(CrossGen)' == 'true'">true</SkipSigning>
</PropertyGroup>
+ <!-- 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>
+ </PropertyGroup>
+
</Project>