Skip to content

Commit

Permalink
Show CI valgrind error list
Browse files Browse the repository at this point in the history
  • Loading branch information
G-071 committed Aug 22, 2023
1 parent be37508 commit 3310dee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,12 @@ if (CPPUDDLE_WITH_TESTS)
find_program(VALGRIND_COMMAND valgrind)
if (VALGRIND_COMMAND)
add_test(allocator_memcheck.valgrind
${VALGRIND_COMMAND} --trace-children=yes --leak-check=full ./allocator_test --arraysize 5000000 --passes 200)
${VALGRIND_COMMAND} --trace-children=yes --leak-check=full --undef-value-errors=no --show-error-list=yes ./allocator_test --arraysize 5000000 --passes 200)
set_tests_properties(allocator_memcheck.valgrind PROPERTIES
PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors from 0 contexts"
)
add_test(allocator_aligned_memcheck.valgrind
${VALGRIND_COMMAND} --trace-children=yes --leak-check=full ./allocator_aligned_test --arraysize 5000000 --passes 200)
${VALGRIND_COMMAND} --trace-children=yes --leak-check=full --undef-value-errors=no --show-error-list=yes ./allocator_aligned_test --arraysize 5000000 --passes 200)
set_tests_properties(allocator_aligned_memcheck.valgrind PROPERTIES
PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors from 0 contexts"
)
Expand Down

0 comments on commit 3310dee

Please sign in to comment.