Skip to content

Commit da8b2f9

Browse files
committed
Update Valgrind command in run_tests.py to refine leak checking
- Adjust `--show-leak-kinds` to `definite` for focused leak reporting.
1 parent 62cc20e commit da8b2f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self):
3131
self.__ppc_env = None
3232
self.work_dir = None
3333

34-
self.valgrind_cmd = "valgrind --error-exitcode=1 --leak-check=full --show-leak-kinds=all"
34+
self.valgrind_cmd = "valgrind --leak-check=full --show-leak-kinds=definite --error-exitcode=1"
3535

3636
if platform.system() == "Windows":
3737
self.mpi_exec = "mpiexec"

0 commit comments

Comments
 (0)