You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/04/25 11:51:09 UTC
[28/52] [abbrv] lucenenet git commit: HACK: build\build.ps1: Removing
--no-build switch when running .NET core tests because the test TeamCity
build is not locating the dotnet-test-nunit-teamcity dependency
HACK: build\build.ps1: Removing --no-build switch when running .NET core tests because the test TeamCity build is not locating the dotnet-test-nunit-teamcity dependency
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/4b7ab658
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/4b7ab658
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/4b7ab658
Branch: refs/heads/master
Commit: 4b7ab658023498d949024e166a8eae01d6a03f01
Parents: 8f98c52
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Sun Apr 23 07:09:02 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Sun Apr 23 07:09:02 2017 +0700
----------------------------------------------------------------------
build/build.ps1 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4b7ab658/build/build.ps1
----------------------------------------------------------------------
diff --git a/build/build.ps1 b/build/build.ps1
index 62594ad..932a5b0 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -125,7 +125,9 @@ task Test -description "This task runs the tests" {
Write-Host "Directory: $projectDirectory" -ForegroundColor Green
if ($framework.StartsWith("netcore")) {
- $testExpression = "dotnet.exe test '$projectDirectory\project.json' --configuration $configuration --framework $framework --no-build"
+ #$testExpression = "dotnet.exe test '$projectDirectory\project.json' --configuration $configuration --framework $framework --no-build"
+ # HACK: taking off the no-build option because this command isn't finding the dependencies when running tests and dotnet restore doesn't help
+ $testExpression = "dotnet.exe test '$projectDirectory\project.json' --configuration $configuration --framework $framework"
} else {
$binaryRoot = "$projectDirectory\bin\$configuration\$framework"