From 465bcec87e21dedd4d55d2498ce01cb3481976f0 Mon Sep 17 00:00:00 2001 From: Dave Dunkin Date: Wed, 5 Jun 2024 17:21:35 -0700 Subject: [PATCH] Remove -maxcpucount arg when calling dotnet test with a dll, it is not supported. --- ReleaseNotes.md | 1 + src/Faithlife.Build/DotNetBuild.cs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index f89d401..4111d45 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -4,6 +4,7 @@ * Fix running `dotnet test` with extra properties. * Add `DotNetTestSettings.GetLogger` to support custom loggers. +* Don't send `-maxcpucount` argument when calling `dotnet test` with a dll. ## 5.21.1 diff --git a/src/Faithlife.Build/DotNetBuild.cs b/src/Faithlife.Build/DotNetBuild.cs index b45d45e..2c40b07 100644 --- a/src/Faithlife.Build/DotNetBuild.cs +++ b/src/Faithlife.Build/DotNetBuild.cs @@ -989,7 +989,6 @@ public static void RunTests(this DotNetBuildSettings settings, string? path) "test", Path.GetFileName(path), settings.GetVerbosityArg(), - settings.GetMaxCpuCountArg(), .. loggerArgs, "--", "RunConfiguration.TreatNoTestsAsError=true",