Skip to content

Commit 430fc59

Browse files
scripts/test.py: fix spurious test failures with valgrind.
Running under valgrind with --trace-children=yes results in extra output that breaks some tests.
1 parent 1950a41 commit 430fc59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ def getmtime(path):
952952
command += (
953953
f' valgrind'
954954
f' --suppressions={pymupdf_dir_abs}/valgrind.supp'
955-
f' --trace-children=yes'
955+
f' --trace-children=no'
956956
f' --num-callers=20'
957957
f' --error-exitcode=100'
958958
f' --errors-for-leak-kinds=none'
@@ -964,7 +964,7 @@ def getmtime(path):
964964
command = (
965965
f' valgrind'
966966
f' --tool=helgrind'
967-
f' --trace-children=yes'
967+
f' --trace-children=no'
968968
f' --num-callers=20'
969969
f' --error-exitcode=100'
970970
f' --fullpath-after='

0 commit comments

Comments
 (0)