[CI] Verbose test output in gitlab-ci and fix the working directory of test

This commit is contained in:
Marko Viitanen 2022-04-28 22:09:45 +03:00
parent 61642deb82
commit bfc646ee8b
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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()