summaryrefslogtreecommitdiff
path: root/tests/src/dir.targets
diff options
context:
space:
mode:
authorRoman Artemev <rartemev@microsoft.com>2017-07-24 18:48:03 -0700
committerRoman Artemev <rartemev@microsoft.com>2017-07-25 16:43:35 -0700
commit27c7a2829a6940d44772aa307b83c04e37829351 (patch)
tree5f72d072add674d26fb481efb91b3a3a93423fb4 /tests/src/dir.targets
parent6747fa19a30992f9efbf3eab5130e25b80e79686 (diff)
downloadcoreclr-27c7a2829a6940d44772aa307b83c04e37829351.tar.gz
coreclr-27c7a2829a6940d44772aa307b83c04e37829351.tar.bz2
coreclr-27c7a2829a6940d44772aa307b83c04e37829351.zip
Completelly fix build of tests on Linux
Diffstat (limited to 'tests/src/dir.targets')
-rw-r--r--tests/src/dir.targets5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/src/dir.targets b/tests/src/dir.targets
index 63630e8fa7..4aa925fbda 100644
--- a/tests/src/dir.targets
+++ b/tests/src/dir.targets
@@ -50,6 +50,11 @@
<_CLRTestNeedsProjectToRun Condition=" '$(_CLRTestNeedsToRun)' and '!$(_CLRTestBuildsExecutable)' ">true</_CLRTestNeedsProjectToRun>
</PropertyGroup>
+ <PropertyGroup>
+ <!-- Since bug in Roslyn for Linux empty DebugType property leads to build failure. See issue Roslyn@20343 -->
+ <DebugType Condition=" '$(DebugType)' == '' and '$(RunningOnUnix)' == 'true' ">None</DebugType>
+ </PropertyGroup>
+
<!--
If it needs ProjectToRun, turn the project into a ProjectReference so it gets built
-->