Skip to content

Commit 8c4b39c

Browse files
Don't memcheck lcm_vector_gen_test (#16372)
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.
1 parent a9ac91f commit 8c4b39c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/vector_gen/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ sh_test(
8181
"test/goal/sample.h",
8282
"test/lcmt_sample_t.lcm",
8383
],
84+
# Valgrind Memcheck reports several leaks in the sed executable.
85+
tags = ["no_memcheck"],
8486
)
8587

8688
add_lint_tests()

0 commit comments

Comments
 (0)