diff options
author | Robert Adam <dev@robert-adam.de> | 2020-07-29 18:50:12 +0300 |
---|---|---|
committer | Davide Beatrici <git@davidebeatrici.dev> | 2020-08-02 21:01:58 +0300 |
commit | 79f3c188496f9445c123aa5c1e8a7f7fa959487a (patch) | |
tree | 511e2e0d412417f1f02513e66ab5e95bafa249c5 /.ci | |
parent | c64e748e6fa52da37d876012a4405a6328f0c6b4 (diff) |
CI(tests): Add --verbose option to ctest
With this option enabled we'll actually be able to see the output of the
tested programs which can give hints as to what went wrong.
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/azure-pipelines/build_linux.bash | 2 | ||||
-rwxr-xr-x | .ci/azure-pipelines/build_macos.bash | 2 | ||||
-rw-r--r-- | .ci/azure-pipelines/build_windows.bat | 2 | ||||
-rwxr-xr-x | .ci/travis-ci/script.bash | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/.ci/azure-pipelines/build_linux.bash b/.ci/azure-pipelines/build_linux.bash index dc0e72bac..7d4fd464d 100755 --- a/.ci/azure-pipelines/build_linux.bash +++ b/.ci/azure-pipelines/build_linux.bash @@ -20,7 +20,7 @@ cd $BUILD_BINARIESDIRECTORY # QSslDiffieHellmanParameters was introduced in Qt 5.8, Ubuntu 16.04 has 5.5. cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=appdir/usr -DBUILD_TESTING=ON -Dversion=$VER -Dsymbols=ON -Dqssldiffiehellmanparameters=OFF $BUILD_SOURCESDIRECTORY cmake --build . -ctest +ctest --verbose cmake --install . wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" diff --git a/.ci/azure-pipelines/build_macos.bash b/.ci/azure-pipelines/build_macos.bash index f05256837..a8f78bb05 100755 --- a/.ci/azure-pipelines/build_macos.bash +++ b/.ci/azure-pipelines/build_macos.bash @@ -19,7 +19,7 @@ cd $BUILD_BINARIESDIRECTORY cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=$MUMBLE_ENVIRONMENT_TOOLCHAIN -DIce_HOME="$MUMBLE_ENVIRONMENT_PATH/installed/x64-osx" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -Dversion=$VER -Dstatic=ON -Dsymbols=ON $BUILD_SOURCESDIRECTORY cmake --build . -ctest +ctest --verbose $BUILD_SOURCESDIRECTORY/macx/scripts/osxdist.py --version=$VER --source-dir=$BUILD_SOURCESDIRECTORY --binary-dir=. diff --git a/.ci/azure-pipelines/build_windows.bat b/.ci/azure-pipelines/build_windows.bat index 08af1e0f8..6096a0d5e 100644 --- a/.ci/azure-pipelines/build_windows.bat +++ b/.ci/azure-pipelines/build_windows.bat @@ -61,7 +61,7 @@ if errorlevel 1 ( exit /b %errorlevel% ) -ctest +ctest --verbose if errorlevel 1 ( exit /b %errorlevel% diff --git a/.ci/travis-ci/script.bash b/.ci/travis-ci/script.bash index 9e09f389d..cfc95a8c7 100755 --- a/.ci/travis-ci/script.bash +++ b/.ci/travis-ci/script.bash @@ -27,7 +27,7 @@ if [ "${TRAVIS_OS_NAME}" == "linux" ]; then # We specify the absolute path because otherwise Travis CI's CMake is used. /usr/bin/cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -Dversion=$VER -Dsymbols=ON .. /usr/bin/cmake --build . - /usr/bin/ctest + /usr/bin/ctest --verbose sudo /usr/bin/cmake --install . elif [ "${MUMBLE_HOST}" == "i686-w64-mingw32" ] || [ "${MUMBLE_HOST}" == "x86_64-w64-mingw32" ]; then wget https://dl.mumble.info/build/extra/asio_sdk.zip -P /tmp/ |