Skip to content

Commit

Permalink
Don't memcheck lcm_vector_gen_test (#16372)
Browse files Browse the repository at this point in the history
Exclude lcm_vector_gen_test from being run under valgrind (memcheck).
This test is just a shell script comparing some generated output to the
expected output, so does not gain anything by being run under valgrind.
However, on Focal, valgrind reports errors in sed, resulting in a test
failure.
  • Loading branch information
mwoehlke-kitware authored Jan 13, 2022
1 parent a9ac91f commit 8c4b39c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/vector_gen/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ sh_test(
"test/goal/sample.h",
"test/lcmt_sample_t.lcm",
],
# Valgrind Memcheck reports several leaks in the sed executable.
tags = ["no_memcheck"],
)

add_lint_tests()

0 comments on commit 8c4b39c

Please sign in to comment.