Next attempt

This commit is contained in:
Denis Blank 2018-01-25 04:14:44 +01:00
parent 9ee5e38fef
commit 2a1949a5b0

View File

@ -124,12 +124,26 @@ script:
CMAKE_CXX_FLAGS="-fsanitize=undefined -fno-omit-frame-pointer" CMAKE_CXX_FLAGS="-fsanitize=undefined -fno-omit-frame-pointer"
renew_build renew_build
ninja -j2 ninja -j2
if [ $? -ne 0 ] ; then
return -1
fi
ctest --verbose ctest --verbose
if [ $? -ne 0 ] ; then
return -1
fi
else else
# Build an run the tests suite with valgrind # Build an run the tests suite with valgrind
renew_build renew_build
ninja -j2 ninja -j2
if [ $? -ne 0 ] ; then
return -1
fi
valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes ctest --verbose valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes ctest --verbose
if [ $? -ne 0 ] ; then
return -1
fi
fi fi
notifications: notifications: