summaryrefslogtreecommitdiff
path: root/tests/build.proj
diff options
context:
space:
mode:
authorDavis Goodin <dagood@microsoft.com>2016-02-23 14:37:36 -0600
committerDavis Goodin <dagood@microsoft.com>2016-03-02 12:32:03 -0600
commit0d71a87375bfa54af10b68b74a4c8d93430ed308 (patch)
treec19ee951b6aa6bdd9be63d609e46b223ed284782 /tests/build.proj
parent28c6b8dacf69d374a4ac5d6a49d7f67d899c0454 (diff)
downloadcoreclr-0d71a87375bfa54af10b68b74a4c8d93430ed308.tar.gz
coreclr-0d71a87375bfa54af10b68b74a4c8d93430ed308.tar.bz2
coreclr-0d71a87375bfa54af10b68b74a4c8d93430ed308.zip
Upgrade CLI version and buildtools, and make build file changes.
Unset CORE_ROOT in environment on Windows before doing restore so that dotnet CLI doesn't try to run using binaries from the test CORE_ROOT. Restore the xunit wrapper projects in a batch rather than individually to save a lot of time. Work around xunit.runner.msbuild not having compatible package layout by ignoring errors and adding import so that a future fix will work. Hard-code C# language for generated wrapper projects: the $(Language) property wasn't set. Also Change www.myget.org to dotnet.myget.org, as we switched to enterprise myget. Add System.ObjectModel to tests\src\JIT\config\benchmark+serialize\project.json to manually upgrade it to a version that doesn't require lifting for runtime. This fixes System.ObjectModel.dll being missing from CORE_ROOT and causing the test to fail. Switch to v3 nuget feeds and sync NuGet.Configs.
Diffstat (limited to 'tests/build.proj')
-rw-r--r--tests/build.proj12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/build.proj b/tests/build.proj
index 0130c5edd4..ca3896d2ea 100644
--- a/tests/build.proj
+++ b/tests/build.proj
@@ -18,9 +18,15 @@
</PropertyGroup>
<Target Name="BatchRestorePackages">
- <Message Importance="High" Text="Restoring all packages..." />
- <!-- restore all project.jsons in one pass for perf & to avoid concurrency problems with dnu -->
- <Exec Command="$(DnuRestoreCommand) $(DnuRestoreDirs)" StandardOutputImportance="Low" CustomErrorRegularExpression="^Unable to locate .*" />
+ <Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Restoring all packages..." />
+
+ <!-- restore all project.jsons in one pass for perf & to avoid concurrency problems -->
+ <Exec Command="$(DnuRestoreCommand) $(DnuRestoreDirs)"
+ StandardOutputImportance="Low"
+ CustomErrorRegularExpression="^Unable to locate .*"
+ ContinueOnError="WarnAndContinue" />
+
+ <Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Restoring all packages...Done." />
</Target>
<!-- Override RestorePackages from dir.traversal.targets and do a batch restore -->