Repository: lucenenet Updated Branches: refs/heads/master 44800efcf -> 03bc1cbff
build/build.ps1: Removed --results-directory from the .NET Core 1.0 tests, as it is not a valid option Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/03bc1cbf Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/03bc1cbf Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/03bc1cbf Branch: refs/heads/master Commit: 03bc1cbff69d0cda7c5e85474c41f2ab83a870bb Parents: 44800ef Author: Shad Storhaug <[email protected]> Authored: Wed Sep 13 09:49:31 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Wed Sep 13 09:49:31 2017 +0700 ---------------------------------------------------------------------- build/build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/03bc1cbf/build/build.ps1 ---------------------------------------------------------------------- diff --git a/build/build.ps1 b/build/build.ps1 index 0556a3f..b58b195 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -234,9 +234,9 @@ task Test -depends InstallSDK1IfRequired, InstallSDK2IfRequired, Restore -descri $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" } - $testExpression = "$testExpression --results-directory $testResultDirectory\TestResult.xml" - + if ($where -ne $null -and (-Not [System.String]::IsNullOrEmpty($where))) { $testExpression = "$testExpression --filter $where" }
