Specify tests to exclude in CI CMake builds
Escape the | in AppVeyor bat file to prevent errors.
This commit is contained in:
@@ -44,14 +44,14 @@ echo.
|
|||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:cmake_qt
|
:cmake_qt
|
||||||
set CMAKE_TEST_REGEX="test_base"
|
set CMAKE_TEST_REGEX="test_[drawing^|gui^|headers]"
|
||||||
goto :cmake
|
goto :cmake
|
||||||
|
|
||||||
:cmake
|
:cmake
|
||||||
if "%CONFIGURATION%"=="" set CONFIGURATION=Release
|
if "%CONFIGURATION%"=="" set CONFIGURATION=Release
|
||||||
if "%CMAKE_TEST_REGEX%"=="" set CMAKE_TEST_REGEX="test_[base|gui]"
|
if "%CMAKE_TEST_REGEX%"=="" set CMAKE_TEST_REGEX="test_drawing"
|
||||||
cd ..\build_cmake
|
cd ..\build_cmake
|
||||||
ctest -V -C %CONFIGURATION% -R %CMAKE_TEST_REGEX% --output-on-failure --interactive-debug-mode 0 .
|
ctest -V -C %CONFIGURATION% -E %CMAKE_TEST_REGEX% --output-on-failure --interactive-debug-mode 0 .
|
||||||
if %errorlevel% NEQ 0 goto :error
|
if %errorlevel% NEQ 0 goto :error
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
|
@@ -44,7 +44,7 @@ case $wxTOOLSET in
|
|||||||
if [ "$wxCMAKE_TESTS" != "OFF" ]; then
|
if [ "$wxCMAKE_TESTS" != "OFF" ]; then
|
||||||
echo 'travis_fold:start:testing'
|
echo 'travis_fold:start:testing'
|
||||||
echo 'Testing...'
|
echo 'Testing...'
|
||||||
ctest -V -C Debug -R "test_base" --output-on-failure --interactive-debug-mode 0 .
|
ctest -V -C Debug -E "test_drawing" --output-on-failure --interactive-debug-mode 0 .
|
||||||
echo 'travis_fold:end:testing'
|
echo 'travis_fold:end:testing'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user