Skip to content

Commit f5cecb2

Browse files
authored
Use dotnet test for test discovery
1 parent d7fe599 commit f5cecb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/helix/content/RunTests/TestRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public async Task<bool> CheckTestDiscoveryAsync()
188188
{
189189
// Run test discovery so we know if there are tests to run
190190
var discoveryResult = await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet",
191-
$"vstest {Options.Target} -lt",
191+
$"test {Options.Target} --list-tests",
192192
environmentVariables: EnvironmentVariables,
193193
cancellationToken: new CancellationTokenSource(TimeSpan.FromMinutes(2)).Token);
194194

0 commit comments

Comments
 (0)