run_tests.bat 441 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
REM Add the cmake path
set PATH=%PATH%;C:\Program Files (x86)\CMake\bin\

REM Run tests from toplevel build dir
cd ..

REM Delete old test results which are generated by OpenFlipper
del /Q tests\testResults\*

REM Delete old test result collection generated by ctest
del /Q CTestResults.xml

REM Run the tests
Jan Möbius's avatar
Jan Möbius committed
14
"C:\Program Files\CMake\bin\ctest.exe" -C Release --no-compress-output
15

Jan Möbius's avatar
Jan Möbius committed
16
IF %errorlevel% NEQ 0 exit /b %errorlevel%