diff options
author | Matt Mitchell <mmitche@microsoft.com> | 2015-02-12 13:49:53 -0800 |
---|---|---|
committer | Matt Mitchell <mmitche@microsoft.com> | 2015-02-12 15:57:46 -0800 |
commit | 73cbb4f49bb22f01b405fe600f331c91d583f876 (patch) | |
tree | faf138e39269aa83fbec80113592924e883ce380 /tests/runtest.cmd | |
parent | 8c6dd79fb18a803b96ebef9bd3ea263907886b4b (diff) | |
download | coreclr-73cbb4f49bb22f01b405fe600f331c91d583f876.tar.gz coreclr-73cbb4f49bb22f01b405fe600f331c91d583f876.tar.bz2 coreclr-73cbb4f49bb22f01b405fe600f331c91d583f876.zip |
Spit out Xunit xml result files
Spit out the xunit result files, as well as make the directory for the xunit html result files consistent with the result of the logs. We should also be passing the include and exclude attributes to the xunit task
Diffstat (limited to 'tests/runtest.cmd')
-rw-r--r-- | tests/runtest.cmd | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/runtest.cmd b/tests/runtest.cmd index 889b3c073f..ddcf9731d0 100644 --- a/tests/runtest.cmd +++ b/tests/runtest.cmd @@ -58,7 +58,8 @@ if not exist %__LogsDir% md %__LogsDir% :SkipDefaultCoreRootSetup set __XunitWrapperBuildLog=%__LogsDir%\Tests_XunitWrapper_%__BuildArch%__%__BuildType%.log set __TestRunBuildLog=%__LogsDir%\TestRunResults_%__BuildArch%__%__BuildType%.log -set __TestRunHtmlLog=%CD%\TestRun_%__BuildArch%_%__BuildType%.html +set __TestRunHtmlLog=%__LogsDir%\TestRun_%__BuildArch%_%__BuildType%.html +set __TestRunXmlLog=%__LogsDir%\TestRun_%__BuildArch%_%__BuildType%.xml echo "Core_Root that will be used is : %Core_Root%" echo "Starting The Test Run .. " @@ -109,7 +110,12 @@ md %Core_Root% xcopy /s %__BinDir% %Core_Root% call :runtests -IF %BUILDERRORLEVEL% NEQ 0 echo Test Run failed. Refer %__TestRunBuildLog% for details. && exit /b %BUILDERRORLEVEL% +IF %BUILDERRORLEVEL% NEQ 0 ( + echo Test Run failed. Refer to the following" + echo Msbuild log: %__TestRunBuildLog% + echo Html report: %__TestRunHtmlLog% + exit /b %BUILDERRORLEVEL% +) goto :eof :runtests @@ -118,12 +124,6 @@ goto :eof set BUILDERRORLEVEL=%ERRORLEVEL% goto :eof -%_buildprefix% echo "Core_Root that was used is %Core_Root%" %_buildpostfix% -echo "Find details of the run in %__TestRunHtmlLog% - - -goto :eof - :Usage echo. echo Usage: |