Fix test execution in CI build script

This commit is contained in:
TheAssassin
2021-05-14 08:38:45 +02:00
parent 7b1c858ff5
commit 0a6a1c59b7
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -49,5 +49,6 @@ add_subdirectory(src)
include(CTest) include(CTest)
if(BUILD_TESTING) if(BUILD_TESTING)
enable_testing()
add_subdirectory(tests) add_subdirectory(tests)
endif() endif()
+1 -1
View File
@@ -44,7 +44,7 @@ cmake --version
# configure build for AppImage release # configure build for AppImage release
cmake "$REPO_ROOT" -DSTATIC_BUILD=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo "${EXTRA_CMAKE_ARGS[@]}" cmake "$REPO_ROOT" -DSTATIC_BUILD=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo "${EXTRA_CMAKE_ARGS[@]}"
make -j"$(nproc)" linuxdeploy make -j"$(nproc)"
## Run Unit Tests ## Run Unit Tests
ctest -V ctest -V