Use same ctest command on Travis and AppVeyor

Do not run the GUI tests on Travis, these fail with:
Error: Unable to initialize GTK+, is DISPLAY set properly?
This commit is contained in:
Maarten Bent 2018-07-31 00:12:17 +02:00
parent f074557f00
commit 33ea26c8b6
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ exit /b 0
:cmake
if "%CONFIGURATION%"=="" set CONFIGURATION=Release
cd ..\build_cmake
ctest -V -C %CONFIGURATION% -R "test_[base|gui]" --interactive-debug-mode 0 .
ctest -V -C %CONFIGURATION% -R "test_[base|gui]" --output-on-failure --interactive-debug-mode 0 .
if %errorlevel% NEQ 0 goto :error
goto :eof

View File

@ -29,7 +29,7 @@ case $wxTOOLSET in
if [ "$wxCMAKE_TESTS" != "OFF" ]; then
echo 'travis_fold:start:testing'
echo 'Testing...'
ctest . -C Debug -V --output-on-failure
ctest -V -C Debug -R "test_base" --output-on-failure --interactive-debug-mode 0 .
echo 'travis_fold:end:testing'
fi
;;