Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Mellino <erme@microsoft.com>2017-01-19 03:35:03 +0300
committerEric Mellino <erme@microsoft.com>2017-01-20 01:52:04 +0300
commit66a1035c913f93f3ba306e1c30bf897fddfe8fcf (patch)
tree6886767a08e7ae01f8ef76aa488956439d3c9ca4 /dir.traversal.targets
parent6c75909bfc13f70a0401e7f7510f0f104bab857b (diff)
Correctly serialize test runs when coverage is enabled.
Diffstat (limited to 'dir.traversal.targets')
-rw-r--r--dir.traversal.targets5
1 files changed, 5 insertions, 0 deletions
diff --git a/dir.traversal.targets b/dir.traversal.targets
index 141e1c9a49..47866d510a 100644
--- a/dir.traversal.targets
+++ b/dir.traversal.targets
@@ -60,6 +60,11 @@
<!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity
however since the project names are unique it will essentially force each to run in its own batch -->
+ <!-- Coverage builds require serial execution. -->
+ <PropertyGroup>
+ <SerializeProjects Condition="'$(Coverage)' == 'true'">true</SerializeProjects>
+ </PropertyGroup>
+
<MSBuild Targets="Test"
Projects="@(Project)"
Condition="'$(SerializeProjects)'=='true' AND '%(Identity)' != ''"