Commit 6d092ea3 authored by Martin Schultz's avatar Martin Schultz
Browse files

don't run ctest in dashboard mode anymore for easier location of log

parent 295dc867
......@@ -11,20 +11,6 @@ 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
ctest -C Release --no-compress-output
IF %errorlevel% NEQ 0 exit /b %errorlevel%
\ No newline at end of file
REM Call head on the TAG to get the current folder where the test results are
FOR /F "tokens=1 delims= " %%i IN ('tests\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
REM cd ..
REM cd ..
......@@ -12,8 +12,7 @@ if [ $(uname) == Darwin ]; then
$CTEST_BINARY -D ExperimentalTest --no-compress-output
$CTEST_BINARY --no-compress-output
cp Testing/`head -n 1 Testing/TAG`/Test.xml CTestResults.xml
\ No newline at end of file
Markdown is supported
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