Skip to content

Commit

Permalink
Minor test and packaging fixes after testing the build
Browse files Browse the repository at this point in the history
  • Loading branch information
rprouse committed Apr 19, 2016
1 parent da73b9b commit 501d174
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.cake
Expand Up @@ -476,6 +476,8 @@ var BinFiles = new FilePath[]
};

// Not all of these are present in every framework
// The Microsoft and System assemblies are part of the BCL
// used by the .NET 4.0 framework. 4.0 tests will not run without them
var FrameworkFiles = new FilePath[]
{
"AppManifest.xaml",
Expand All @@ -491,7 +493,13 @@ var FrameworkFiles = new FilePath[]
"nunitlite.tests.exe",
"nunitlite.tests.dll",
"slow-nunit-tests.dll",
"nunitlite-runner.exe"
"nunitlite-runner.exe",
"Microsoft.Threading.Tasks.dll",
"Microsoft.Threading.Tasks.Extensions.Desktop.dll",
"Microsoft.Threading.Tasks.Extensions.dll",
"System.IO.dll",
"System.Runtime.dll",
"System.Threading.Tasks.dll"
};

Task("PackageSource")
Expand Down
2 changes: 2 additions & 0 deletions src/NUnitConsole/nunit3-console.tests/CommandLineTests.cs
Expand Up @@ -529,6 +529,8 @@ public void ShouldSetTeamCityFlagAccordingToArgsAndDefauls(bool hasTeamcityInCmd
public void ShouldNotFailOnEmptyLine()
{
var testListPath = Path.Combine(TestContext.CurrentContext.TestDirectory, "TestListWithEmptyLine.tst");
// Not copying this test file into releases
Assume.That(testListPath, Does.Exist);
var options = new ConsoleOptions("--testlist=" + testListPath);
Assert.That(options.errorMessages, Is.Empty);
Assert.That(options.TestList, Is.EqualTo(new[] {"AmazingTest"}));
Expand Down

0 comments on commit 501d174

Please sign in to comment.