From 2fb9e2f567d5f0947f5c8ca213ae4074a0f57de1 Mon Sep 17 00:00:00 2001 From: Kiran Challa Date: Tue, 9 Aug 2016 10:12:19 -0700 Subject: [PATCH] Added makefile.shade to run nano tests [Fixes #348] Only run Nano tests for the WinNano-MusicStore node in CI --- makefile.shade | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 makefile.shade diff --git a/makefile.shade b/makefile.shade new file mode 100644 index 0000000000..1a2297d0cf --- /dev/null +++ b/makefile.shade @@ -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); + } \ No newline at end of file