Skip to content

Commit c892784

Browse files
committed
fixed #14620 - add suppression for valgrind false positive
1 parent 255aa29 commit c892784

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/valgrind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ 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 --log-fd=9 --error-exitcode=42 ./testrunner TestGarbage TestOther TestSimplifyTemplate TestRegEx 9>memcheck.log || ec=1
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 TestGarbage TestOther TestSimplifyTemplate TestRegEx 9>memcheck.log || ec=1
5555
cat memcheck.log
5656
exit $ec
5757
# TODO: debuginfod.ubuntu.com is currently not responding to any requests causing it to run into a 40(!) minute timeout

valgrind/testrunner.supp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@
1414
obj:*
1515
obj:*
1616
}
17+
{
18+
TestRegEx::partialmatch false positive
19+
Memcheck:Cond
20+
obj:*
21+
obj:*
22+
}

0 commit comments

Comments
 (0)