Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3C4BF200D04 for ; Mon, 11 Sep 2017 18:07:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3AD831609C4; Mon, 11 Sep 2017 16:07:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 817E71609C3 for ; Mon, 11 Sep 2017 18:07:57 +0200 (CEST) Received: (qmail 15364 invoked by uid 500); 11 Sep 2017 16:07:56 -0000 Mailing-List: contact commits-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucenenet.apache.org Delivered-To: mailing list commits@lucenenet.apache.org Received: (qmail 15355 invoked by uid 99); 11 Sep 2017 16:07:56 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2017 16:07:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4D9A1F5770; Mon, 11 Sep 2017 16:07:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nightowl888@apache.org To: commits@lucenenet.apache.org Message-Id: <8d42082371cd43c192099e11411b6e21@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) archived-at: Mon, 11 Sep 2017 16:07:58 -0000 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 Authored: Mon Sep 11 23:07:39 2017 +0700 Committer: Shad Storhaug 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))) {