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

This reverts commit 6c2607be4de5dc08dd56796777dd5bf96d497cd0.


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

Branch: refs/heads/master
Commit: a8ebf6b762068f60609fd700a3eb52083da710c6
Parents: 6c2607b
Author: Shad Storhaug <[email protected]>
Authored: Wed Apr 19 20:02:42 2017 +0700
Committer: Shad Storhaug <[email protected]>
Committed: Wed Apr 19 20:02:42 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a8ebf6b7/build/build.ps1
----------------------------------------------------------------------
diff --git a/build/build.ps1 b/build/build.ps1
index 0fd0db8..d956897 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