Added makefile.shade to run nano tests

[Fixes #348] Only run Nano tests for the WinNano-MusicStore node in CI
This commit is contained in:
Kiran Challa 2016-08-09 10:12:19 -07:00
parent 32ea3f79fc
commit 2fb9e2f567
1 changed files with 19 additions and 0 deletions

19
makefile.shade Normal file
View File

@ -0,0 +1,19 @@
use-standard-lifecycle
k-standard-goals
#run-nano-tests .compile
@{
var configuration = Environment.GetEnvironmentVariable("Configuration");
if (string.IsNullOrEmpty(configuration))
{
configuration = "Debug";
}
var e2eTestsDirectory = Path.Combine(Directory.GetCurrentDirectory(), "test", "E2ETests");
var testArgs = "";
testArgs += " --configuration " + configuration;
testArgs += " -trait E2ETests=NanoServer";
testArgs += " -parallel none";
Dotnet("test" + testArgs, e2eTestsDirectory);
}