Skip to content

Commit c7d4d7c

Browse files
authored
Add console logger to test command (#20273)
1 parent a421a31 commit c7d4d7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/helix/content/runtests.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ set NONQUARANTINE_FILTER="Quarantined!=true"
7777
set QUARANTINE_FILTER="Quarantined=true"
7878
if %$quarantined%==true (
7979
echo Running quarantined tests.
80-
%DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --TestCaseFilter:%QUARANTINE_FILTER%
80+
%DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --logger:"console;verbosity=normal" --TestCaseFilter:%QUARANTINE_FILTER%
8181
if errorlevel 1 (
8282
echo Failure in quarantined test 1>&2
8383
REM DO NOT EXIT and DO NOT SET EXIT_CODE to 1
8484
)
8585
) else (
8686
REM Filter syntax: https://github.com/Microsoft/vstest-docs/blob/master/docs/filter.md
8787
echo Running non-quarantined tests.
88-
%DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --TestCaseFilter:%NONQUARANTINE_FILTER%
88+
%DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --logger:"console;verbosity=normal" --TestCaseFilter:%NONQUARANTINE_FILTER%
8989
if errorlevel 1 (
9090
echo Failure in non-quarantined test 1>&2
9191
set exit_code=1

0 commit comments

Comments
 (0)