Make ctest run un verbose mode.

This commit is contained in:
Alexis Lopez Zubieta
2018-10-20 23:49:51 +02:00
committed by TheAssassin
parent 172db51186
commit 7e4a320f61
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ add_subdirectory(lib)
add_subdirectory(src)
option(BUILD_TEST "Build the tests" ON)
if(PACKAGE_TESTS)
if(BUILD_TEST)
enable_testing()
add_subdirectory(tests)
endif()

View File

@@ -40,7 +40,7 @@ cmake "$REPO_ROOT" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
make -j$(nproc)
## Run Unit Tests
ctest
ctest -V
# args are used more than once
LINUXDEPLOY_ARGS=("--appdir" "AppDir" "-e" "bin/linuxdeploy" "-i" "$REPO_ROOT/resources/linuxdeploy.png" "--create-desktop-file" "-e" "/usr/bin/patchelf" "-e" "/usr/bin/strip")