Skip to content

Commit c5752ff

Browse files
authored
Update TestApplication.cs
1 parent 8672d1e commit c5752ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Cli/dotnet/Commands/Test/TestApplication.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ private ProcessStartInfo CreateProcessStartInfo(TestOptions testOptions)
5555
{
5656
var processStartInfo = new ProcessStartInfo
5757
{
58+
// We should get correct RunProperties right away.
59+
// For the case of dotnet test --test-modules path/to/dll, the TestModulesFilterHandler is responsible
60+
// for providing the dotnet muxer as RunCommand, and `exec "path/to/dll"` as RunArguments.
5861
FileName = Module.RunProperties.RunCommand,
5962
Arguments = GetArguments(testOptions),
6063
RedirectStandardOutput = true,

0 commit comments

Comments
 (0)