Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Clean up runtest script #8

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/runtest.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,17 @@ IF ERRORLEVEL 1 echo XunitWrapperBuild build failed. Refer %__XunitWrapperBuild
:preptests
%_buildprefix% if not "%noCore_RootSet%"=="true" goto :runtests %_buildpostfix%
%_buildprefix% set Core_Root=%XunitTestBinBase%\Tests\Core_Root %_buildpostfix%
%_buildprefix% rd /s /q %Core_Root% %_buildpostfix%
if exist %Core_Root% %_buildprefix% rd /s /q %Core_Root% %_buildpostfix%
%_buildprefix% md %Core_Root% %_buildpostfix%
%_buildprefix% echo d | xcopy /s %__BinDir% %Core_Root% %_buildpostfix%
%_buildprefix% xcopy /s %__BinDir% %Core_Root% %_buildpostfix%

:runtests
%_buildprefix% %_msbuildexe% "%__ProjectFilesDir%runtest.proj" /p:NoBuild=true /nologo /maxcpucount /verbosity:minimal /nodeReuse:false /fileloggerparameters:Verbosity=diag;LogFile="%__TestRunBuildLog%";Append %* %_buildpostfix%

%_buildprefix% echo "Core_Root that was used is %Core_Root%" %_buildpostfix%
echo "Find details of the run in %__TestRunHtmlLog%

IF ERRORLEVEL 1 echo Test Run failed. Refer %__TestRunBuildLog% for details. && exit /b 1
IF ERRORLEVEL 1 echo Test run failed. Refer %__TestRunBuildLog% for details. && exit /b 1

goto :eof

Expand Down