This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 4cc10c983d18c24851b44f88b4ec5815c601ad7f
Author: Shad Storhaug <[email protected]>
AuthorDate: Sat Oct 26 17:45:18 2019 +0700

    build.ps1: Fixed where expression (dotnet vstest uses --TestCaseFilter, not 
--filter, and must be separated with a colon)
---
 build/build.ps1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/build.ps1 b/build/build.ps1
index a3eec77..14513f3 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -323,8 +323,8 @@ task Test -depends InstallSDK, UpdateLocalSDKVersion, 
Restore -description "This
                        # doing release inspection and on the CI server.
                        $testExpression = "$testExpression 
--logger:""trx;LogFileName=TestResults.trx"""
                        
-                       if ($where -ne $null -and (-Not 
[System.String]::IsNullOrEmpty($where))) {
-                               $testExpression = "$testExpression --filter 
$where"
+                       if (![string]::IsNullOrEmpty($where)) {
+                               $testExpression = "$testExpression 
--TestCaseFilter:""$where"""
                        }
 
                        Write-Host $testExpression -ForegroundColor Magenta

Reply via email to