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:
@@ -45,7 +45,7 @@ exit /b 0
|
|||||||
:cmake
|
:cmake
|
||||||
if "%CONFIGURATION%"=="" set CONFIGURATION=Release
|
if "%CONFIGURATION%"=="" set CONFIGURATION=Release
|
||||||
cd ..\build_cmake
|
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
|
if %errorlevel% NEQ 0 goto :error
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
|
@@ -29,7 +29,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 . -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'
|
echo 'travis_fold:end:testing'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user