From 7de8483faaa60d66ff7330a3c3f7a167c7378624 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Sat, 19 Oct 2024 22:12:46 +0200 Subject: [PATCH] test --- .github/workflows/test_valgrind.yml | 1 + scripts/run-valgrind-cpp.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_valgrind.yml b/.github/workflows/test_valgrind.yml index b3f893647f..9eebbf18f8 100644 --- a/.github/workflows/test_valgrind.yml +++ b/.github/workflows/test_valgrind.yml @@ -4,6 +4,7 @@ on: branches: - master - update_valgrind_supp + - fix_valgrind_tests pull_request: branches: - master diff --git a/scripts/run-valgrind-cpp.sh b/scripts/run-valgrind-cpp.sh index fd08cbda54..a96b1d90e6 100755 --- a/scripts/run-valgrind-cpp.sh +++ b/scripts/run-valgrind-cpp.sh @@ -10,4 +10,4 @@ set -eou pipefail # run tests cd "${AMICI_PATH}/build/" VALGRIND_OPTS="--leak-check=full --error-exitcode=1 --trace-children=yes --show-leak-kinds=definite" -valgrind ${VALGRIND_OPTS} ctest +CTEST_OUTPUT_ON_FAILURE=1 valgrind ${VALGRIND_OPTS} ctest