diff options
Diffstat (limited to 'tests/tests.targets')
-rw-r--r-- | tests/tests.targets | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.targets b/tests/tests.targets index e1e6f58ba8..6c3afcd7f1 100644 --- a/tests/tests.targets +++ b/tests/tests.targets @@ -65,7 +65,7 @@ <XunitCommandLine>$(CorerunExecutable) $(XunitConsoleRunner) @(TestAssemblies->'%(Identity)', ' ') $(XunitArgs)</XunitCommandLine> </PropertyGroup> - <Error Condition="$(XunitCommandLine.Length) > 8191" Text="Xunit command line is too long." /> + <Error Condition="$(XunitCommandLine.Length) > 8191 and '$(RunningOnUnix)' != 'true'" Text="Xunit command line is too long." /> <Exec Command="$(XunitCommandLine)" WorkingDirectory="$(BaseOutputPathWithConfig)"/> |