diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d071529..f21aba7a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ test-kvazaar: &test-template - export PATH="${HOME}/bin:${PATH}" - cmake -DUSE_SHARED_LIB=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false) - make install --jobs=8 - - make check --jobs=8 VERBOSE=1 + - env CTEST_OUTPUT_ON_FAILURE=1 make test --jobs=8 artifacts: paths: - bin/uvg266 diff --git a/CMakeLists.txt b/CMakeLists.txt index 969b6289..af82625c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,5 +142,5 @@ if(EXISTS "${PROJECT_SOURCE_DIR}/greatest/greatest.h") endif() if(NOT DEFINED MSVC) - add_test( NAME external_symbols COMMAND ${PROJECT_SOURCE_DIR}/tests/test_external_symbols.sh) + add_test( NAME external_symbols COMMAND ${PROJECT_SOURCE_DIR}/tests/test_external_symbols.sh WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests) endif() \ No newline at end of file