|
1 | 1 | // Load the recipe
|
2 |
| -#load nuget:?package=NUnit.Cake.Recipe&version=1.3.0 |
| 2 | +#load nuget:?package=NUnit.Cake.Recipe&version=1.4.0-alpha.1 |
3 | 3 | // Comment out above line and uncomment below for local tests of recipe changes
|
4 | 4 | //#load ../NUnit.Cake.Recipe/recipe/*.cake
|
5 | 5 |
|
@@ -79,8 +79,7 @@ BuildSettings.Packages.AddRange(new PackageDefinition[] {
|
79 | 79 | "nunit.extensibility.api.dll", "nunit.engine.api.dll", "testcentric.metadata.dll",
|
80 | 80 | "Microsoft.Extensions.DependencyModel.dll")
|
81 | 81 | },
|
82 |
| - testRunner: new ConsoleRunnerSelfTester(BuildSettings.NuGetTestDirectory |
83 |
| - + $"NUnit.ConsoleRunner.NetCore.{BuildSettings.PackageVersion}/nunit.exe"), |
| 82 | + testRunner: new ConsoleRunnerSelfTester(BuildSettings.NuGetTestDirectory + "nunit.exe"), |
84 | 83 | tests: NetCoreRunnerTests),
|
85 | 84 |
|
86 | 85 | NUnitConsoleRunnerChocolateyPackage = new ChocolateyPackage(
|
@@ -167,10 +166,10 @@ public class ConsoleRunnerSelfTester : TestRunner, IPackageTestRunner
|
167 | 166 | _executablePath = executablePath;
|
168 | 167 | }
|
169 | 168 |
|
170 |
| - public int RunPackageTest(string arguments) |
| 169 | + public int RunPackageTest(string arguments, bool redirectOutput) |
171 | 170 | {
|
172 | 171 | Console.WriteLine("Running package test");
|
173 |
| - return base.RunTest(_executablePath, arguments); |
| 172 | + return base.RunPackageTest(_executablePath, new ProcessSettings() { Arguments = arguments, RedirectStandardOutput = redirectOutput }); |
174 | 173 | }
|
175 | 174 | }
|
176 | 175 |
|
|
0 commit comments