CI: run valgrind with --error-exitcode=1.
This commit is contained in:
1 parent
eed5bb2649
commit
669b6ce17a
1 file changed
+1
-1
@@ -36,7 +36,7 @@ jobs:
|
||||
cmake --build build-debug-asanubsan/ -t ChaosTests
|
||||
|
||||
- name: Run tests under valgrind
|
||||
run: valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all ./build-debug/ChaosTests/ChaosTests
|
||||
run: valgrind --leak-check=full --track-origins=yes --show-leak-kinds=all --error-exitcode=1 ./build-debug/ChaosTests/ChaosTests
|
||||
|
||||
- name: Run tests under ASan and UBSan
|
||||
run: ASAN_OPTIONS=verbosity=1 UBSAN_OPTIONS=verbosity=1 ./build-debug-asanubsan/ChaosTests/ChaosTests
|
||||
|
||||
Reference in new issue
Block a user