Run unit tests on the build.sh script

This commit is contained in:
Alexis Lopez Zubieta
2018-10-14 15:04:38 +02:00
committed by TheAssassin
parent 376eddb14d
commit d09186f69f

View File

@@ -39,6 +39,9 @@ cmake "$REPO_ROOT" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
make -j$(nproc)
## Run Unit Tests
ctest
# 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")