diff --git a/tools/ci/amd64/clang/coverage.sh b/tools/ci/amd64/clang/coverage.sh index 94ba67b..eb6326e 100755 --- a/tools/ci/amd64/clang/coverage.sh +++ b/tools/ci/amd64/clang/coverage.sh @@ -23,6 +23,15 @@ mkdir -p ./coverage/ for test in $(find ./ -type f -name '*_tests' -executable); do export LLVM_PROFILE_FILE="./coverage/$(basename "$(dirname "$test")").profraw"; echo ${LLVM_PROFILE_FILE} >> ./coverage/list; + + gdb \ + --return-child-result \ + -ex='set confirm off' \ + -ex='set pagination off' \ + -ex='run' \ + -ex='bt full' \ + -ex='quit' \ + -q \ "$test" done diff --git a/tools/ci/amd64/gcc/unit_tests.sh b/tools/ci/amd64/gcc/unit_tests.sh index 33879e4..ffc05aa 100755 --- a/tools/ci/amd64/gcc/unit_tests.sh +++ b/tools/ci/amd64/gcc/unit_tests.sh @@ -19,6 +19,14 @@ cmake .. \ && cmake --build . -j `nproc` for test in $(find ./ -type f -name '*_tests' -executable); do - echo "Running $test" - gdb --return-child-result -q -ex='set confirm off' -ex='set pagination off' -ex='run' -ex='bt full' -ex='quit' "$test" + echo "Running $test" + gdb \ + --return-child-result \ + -ex='set confirm off' \ + -ex='set pagination off' \ + -ex='run' \ + -ex='bt full' \ + -ex='quit' \ + -q \ + "$test" done diff --git a/tools/ci/amd64/gcc/valgrind.sh b/tools/ci/amd64/gcc/valgrind.sh index 73f4266..0081031 100755 --- a/tools/ci/amd64/gcc/valgrind.sh +++ b/tools/ci/amd64/gcc/valgrind.sh @@ -22,12 +22,11 @@ cmake .. \ && cmake --build . -j `nproc` for test in $(find ./ -type f -name '*_tests' -executable); do - echo "Running $test" - - valgrind \ - --leak-check=full \ - --show-leak-kinds=all \ - --track-origins=yes \ - --verbose \ - --error-exitcode=255 ${test} || exit 1 + echo "Running $test" + valgrind \ + --leak-check=full \ + --show-leak-kinds=all \ + --track-origins=yes \ + --verbose \ + --error-exitcode=255 ${test} || exit 1 done