Moved the autotest log file stuff for Windows
This commit is contained in:
parent
66f2c931e0
commit
77624ce168
@ -19,9 +19,6 @@ set srcdir=%cd%
|
||||
rem output directory is a subdirectory of rundir
|
||||
set outdir=%rundir%\machine-vs-pro.dir
|
||||
|
||||
rem autotest log file
|
||||
set logfile=%rundir%\autotest-machine-vs-pro.log
|
||||
|
||||
rem create clean output directory
|
||||
if exist %outdir% rmdir /s /q %outdir%
|
||||
mkdir %outdir%
|
||||
@ -30,8 +27,6 @@ rem run the cmake.bat script from rundir in a subshell to avoid overwriting vari
|
||||
rem (i.e., use 'cmd /c')
|
||||
cd %rundir%
|
||||
|
||||
@echo Test started at %time% on %date% > %logfile%
|
||||
|
||||
cmd /c %scriptdir%\cmake.bat %srcdir% " "
|
||||
move %rundir%\cmake.dir %outdir%\cmake-default.dir
|
||||
move %rundir%\cmake.err %outdir%\cmake-default.err
|
||||
@ -55,8 +50,6 @@ for %%f in (%outdir%\*.err) do (
|
||||
if %%~zf gtr 0 @echo %%f >> machine-vs-pro.err
|
||||
)
|
||||
|
||||
@echo Test finished at %time% on %date% >> %logfile%
|
||||
|
||||
cd %rundir%
|
||||
|
||||
endlocal
|
||||
|
||||
Loading…
Reference in New Issue
Block a user