Repository: lucenenet Updated Branches: refs/heads/api-work 8f98c521e -> 4b7ab6580
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/api-work Commit: 4b7ab658023498d949024e166a8eae01d6a03f01 Parents: 8f98c52 Author: Shad Storhaug <[email protected]> Authored: Sun Apr 23 07:09:02 2017 +0700 Committer: Shad Storhaug <[email protected]> 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"
