build\build.ps1: removed --result parameter from dotnet test command to see if 
it brings back the test instrumentation in teamcity


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

Branch: refs/heads/master
Commit: 6c2607be4de5dc08dd56796777dd5bf96d497cd0
Parents: 0674225
Author: Shad Storhaug <[email protected]>
Authored: Wed Apr 19 10:26:25 2017 +0700
Committer: Shad Storhaug <[email protected]>
Committed: Wed Apr 19 10:26:25 2017 +0700

----------------------------------------------------------------------
 build/build.ps1 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6c2607be/build/build.ps1
----------------------------------------------------------------------
diff --git a/build/build.ps1 b/build/build.ps1
index d956897..0fd0db8 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -136,12 +136,12 @@ task Test -description "This task runs the tests" {
                                } 
 
                                $testExpression = 
"$tools_directory\NUnit\NUnit.ConsoleRunner.3.5.0\tools\nunit3-console.exe 
$testBinary"
-                       }
 
-                       #$testResultDirectory = 
"$test_results_directory\$framework\$testName"
-                       #Ensure-Directory-Exists $testResultDirectory
+                               #$testResultDirectory = 
"$test_results_directory\$framework\$testName"
+                               #Ensure-Directory-Exists $testResultDirectory
 
-                       $testExpression = "$testExpression 
--result:$projectDirectory\TestResult.xml"
+                               $testExpression = "$testExpression 
--result:$projectDirectory\TestResult.xml"
+                       }
 
                        if ($where -ne $null -and (-Not 
[System.String]::IsNullOrEmpty($where))) {
                                $testExpression = "$testExpression --where 
$where"

Reply via email to