diff --git a/KoreBuild-dotnet/build/_dotnet-test.shade b/KoreBuild-dotnet/build/_dotnet-test.shade index 79552be8d7..d8a95c021b 100644 --- a/KoreBuild-dotnet/build/_dotnet-test.shade +++ b/KoreBuild-dotnet/build/_dotnet-test.shade @@ -9,9 +9,6 @@ dotnet-test projectFile='' Required. Path to the test project.json to execute - -framework='' - Required. The TFM to run tests for configuration='' Optional. The configuration to build in. Defaults to 'Debug'. @@ -21,7 +18,7 @@ default configuration = 'Debug' @{ var projectFolder = Path.GetDirectoryName(projectFile); - var testArgs = "--configuration " + configuration + " --framework " + framework; + var testArgs = "--configuration " + configuration; Dotnet("test " + testArgs, projectFolder); } diff --git a/KoreBuild-dotnet/build/_k-standard-goals.shade b/KoreBuild-dotnet/build/_k-standard-goals.shade index 703a760bb3..22a549a7ce 100644 --- a/KoreBuild-dotnet/build/_k-standard-goals.shade +++ b/KoreBuild-dotnet/build/_k-standard-goals.shade @@ -195,7 +195,7 @@ default NUGET_FEED = 'https://api.nuget.org/v3/index.json' var hasTestCommand = project.Keys.Contains("commands") && project.ValueAsJsonObject("commands").Keys.Contains("test"); if (projectText.Contains("dotnet-test-xunit")) { - DotnetTest(projectFile, dnxCore50TFM, Configuration); + DotnetTest(projectFile, Configuration); } else if (hasTestCommand) { @@ -391,7 +391,7 @@ macro name="DotnetPack" projectFile='string' dotnetPackOutputDir='string' config macro name="DotnetPublish" projectFile='string' outputFolder='string' framework='string' configuration='string' dotnet-publish -macro name="DotnetTest" projectFile='string' framework='string' configuration='string' +macro name="DotnetTest" projectFile='string' configuration='string' dotnet-test macro name="XunitTest" projectFile='string' framework='string' configuration='string'