From c7d4d7c270cfcc5ed6667137ac34ff0f21241fe7 Mon Sep 17 00:00:00 2001 From: David Fowler Date: Sat, 28 Mar 2020 12:20:24 -0700 Subject: [PATCH] Add console logger to test command (#20273) --- eng/helix/content/runtests.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/helix/content/runtests.cmd b/eng/helix/content/runtests.cmd index 6dec0880d5..2f9d6603c8 100644 --- a/eng/helix/content/runtests.cmd +++ b/eng/helix/content/runtests.cmd @@ -77,7 +77,7 @@ set NONQUARANTINE_FILTER="Quarantined!=true" set QUARANTINE_FILTER="Quarantined=true" if %$quarantined%==true ( echo Running quarantined tests. - %DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --TestCaseFilter:%QUARANTINE_FILTER% + %DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --logger:"console;verbosity=normal" --TestCaseFilter:%QUARANTINE_FILTER% if errorlevel 1 ( echo Failure in quarantined test 1>&2 REM DO NOT EXIT and DO NOT SET EXIT_CODE to 1 @@ -85,7 +85,7 @@ if %$quarantined%==true ( ) else ( REM Filter syntax: https://github.com/Microsoft/vstest-docs/blob/master/docs/filter.md echo Running non-quarantined tests. - %DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --TestCaseFilter:%NONQUARANTINE_FILTER% + %DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --logger:"console;verbosity=normal" --TestCaseFilter:%NONQUARANTINE_FILTER% if errorlevel 1 ( echo Failure in non-quarantined test 1>&2 set exit_code=1