Skip to content

Commit a785416

Browse files
committed
fixed #14620 - add suppression for valgrind false positive
removed LSAN suppression fixed #14619 - fixed potential memory leak using `--rule`
1 parent 67a7359 commit a785416

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/valgrind.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ jobs:
5151
- name: Run valgrind
5252
run: |
5353
ec=0
54-
valgrind --error-limit=yes --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --suppressions=valgrind/testrunner.supp --gen-suppressions=all -s --log-fd=9 --error-exitcode=42 ./testrunner -t TestGarbage TestOther TestSimplifyTemplate TestRegEx 9>memcheck.log || ec=1
54+
# disable all tests invokding processes because the child processes fail with reachable memory.
55+
# some of the TestProcessExecutor* tests are also extremely slow.
56+
excluded_tests="TestProcessExecutorFS \
57+
TestProcessExecutorFiles \
58+
TestSuppressions::suppressionsSettingsProcessesFiles \
59+
TestSuppressions::suppressionsSettingsProcessesFS"
60+
valgrind --error-limit=yes --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --suppressions=valgrind/testrunner.supp --gen-suppressions=all -s --log-fd=9 --error-exitcode=42 ./testrunner -t -x $excluded_tests 9>memcheck.log || ec=1
5561
cat memcheck.log
5662
exit $ec
5763
# TODO: debuginfod.ubuntu.com is currently not responding to any requests causing it to run into a 40(!) minute timeout

0 commit comments

Comments
 (0)