lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject lucenenet git commit: build/build.ps1: Removed --no-restore switch from netcoreapp1.0 test configuration (not valid)
Date Mon, 11 Sep 2017 16:07:56 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 573dd303a -> 565a8968f


build/build.ps1: Removed --no-restore switch from netcoreapp1.0 test configuration (not valid)


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/565a8968
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/565a8968
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/565a8968

Branch: refs/heads/master
Commit: 565a8968f13e5f88e97f134404b4373d72957040
Parents: 573dd30
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Mon Sep 11 23:07:39 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Mon Sep 11 23:07:39 2017 +0700

----------------------------------------------------------------------
 build/build.ps1 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/565a8968/build/build.ps1
----------------------------------------------------------------------
diff --git a/build/build.ps1 b/build/build.ps1
index 0977f81..0556a3f 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -231,7 +231,10 @@ task Test -depends InstallSDK1IfRequired, InstallSDK2IfRequired, Restore
-descri
 			Ensure-Directory-Exists $testResultDirectory
 
 			if ($framework.StartsWith("netcore")) {
-				$testExpression = "dotnet.exe test '$testProject' --configuration $configuration --framework
$framework --no-restore --no-build"
+				$testExpression = "dotnet.exe test '$testProject' --configuration $configuration --framework
$framework --no-build"
+				if ($framework -ne "netcoreapp1.0") {
+					$testExpression = "$testExpression --no-restore"
+				}
 				$testExpression = "$testExpression --results-directory $testResultDirectory\TestResult.xml"
 
 				if ($where -ne $null -and (-Not [System.String]::IsNullOrEmpty($where))) {


Mime
View raw message