summaryrefslogtreecommitdiff
path: root/tests/src/dir.targets
diff options
context:
space:
mode:
authorRama Krishnan Raghupathy <ramarag@microsoft.com>2016-09-14 15:57:36 -0700
committerRAMA KRISHNAN RAGHUPATHY <ramarag@rama.local>2016-09-15 23:31:55 -0700
commit3e10b7622f5c7f80eab018e085b1328e35038fc7 (patch)
tree082217a1c1cb27350c646e7876fae6efdcc1eea0 /tests/src/dir.targets
parent832a7498bf7aff89a70800c5f02517866f93dc1f (diff)
downloadcoreclr-3e10b7622f5c7f80eab018e085b1328e35038fc7.tar.gz
coreclr-3e10b7622f5c7f80eab018e085b1328e35038fc7.tar.bz2
coreclr-3e10b7622f5c7f80eab018e085b1328e35038fc7.zip
Enable Building Libraries for ilproj
Diffstat (limited to 'tests/src/dir.targets')
-rw-r--r--tests/src/dir.targets23
1 files changed, 15 insertions, 8 deletions
diff --git a/tests/src/dir.targets b/tests/src/dir.targets
index 31d9304880..8235ba91a7 100644
--- a/tests/src/dir.targets
+++ b/tests/src/dir.targets
@@ -1,8 +1,23 @@
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <!-- Default priority building values. -->
+ <PropertyGroup>
+ <CLRTestKind Condition="'$(CLRTestKind)' == '' and '$(OutputType)' == 'Library'">SharedLibrary</CLRTestKind>
+ <CLRTestKind Condition="'$(CLRTestKind)' == ''">BuildAndRun</CLRTestKind>
+ <CLRTestPriority Condition="'$(CLRTestPriority)' == ''">0</CLRTestPriority>
+ </PropertyGroup>
+
<!-- All CLRTests need to be of a certain "kind". These kinds are enumerated below.
By default all tests are BuildAndRun. This means that the build system will Build them
and construct a run-batch-script for them. -->
<Choose>
+ <When Condition=" '$(CLRTestKind)'=='SharedLibrary'">
+ <PropertyGroup>
+ <_CLRTestCompilesSource>true</_CLRTestCompilesSource>
+ <_CLRTestNeedsToRun>false</_CLRTestNeedsToRun>
+ <GenerateRunScript>false</GenerateRunScript>
+ <_CLRTestBuildsExecutable>false</_CLRTestBuildsExecutable>
+ </PropertyGroup>
+ </When>
<When Condition=" '$(CLRTestKind)'=='BuildAndRun' ">
<PropertyGroup>
<GenerateRunScript>true</GenerateRunScript>
@@ -28,14 +43,6 @@
<_CLRTestCompilesSource>false</_CLRTestCompilesSource>
</PropertyGroup>
</When>
- <When Condition=" '$(CLRTestKind)'=='SharedLibrary' Or '$(OutputType)' == 'Library' ">
- <PropertyGroup>
- <_CLRTestCompilesSource>true</_CLRTestCompilesSource>
- <_CLRTestNeedsToRun>false</_CLRTestNeedsToRun>
- <GenerateRunScript>false</GenerateRunScript>
- <_CLRTestBuildsExecutable>false</_CLRTestBuildsExecutable>
- </PropertyGroup>
- </When>
</Choose>
<PropertyGroup>