Commit bd8bbc1d authored by Jan Möbius's avatar Jan Möbius
Browse files

Finished the batch file for windows.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13545 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ba47d5d7
del testResults\*
del ..\CTestResults.xml
ctest -D ExperimentalTest -C Release --no-compress-output
head.bat 1 Testing\TAG
for /f "delims=" %a in ('head.bat 1 Testing\TAG') do @set result=%a
echo %result%
cd Testing
cd %result%
copy /Y Test.xml ..\..\..\CTestResults.xml
cd ..
cd ..
REM Delete old test results which are generated by OpenFlipper
del /Q testResults\*
REM Delete old test result collection generated by ctest
del /Q ..\CTestResults.xml
REM Run the tests
ctest -D ExperimentalTest -C Release --no-compress-output
REM Call head on the TAG to get the current folder where the test results are
FOR /F "tokens=1 delims= " %%i IN ('head.bat 1 Testing\TAG') DO @set result=%%i
REM Go into that folder
cd Testing
cd %result%
REM copy generated xml results file to the location where jenkins expects it
copy /Y Test.xml ..\..\..\CTestResults.xml
REM Go back to start directory
cd ..
cd ..
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment