Skip to content

Commit d3b52fa

Browse files
test: Handle valgrind suppression file path with empty spaces
1 parent 18da03c commit d3b52fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ def run_job_synchronously(shell_command, directory, valgrind, is_python, build_p
889889
if valgrind:
890890
if VALGRIND_SUPPRESSIONS_FILE:
891891
cmd = (
892-
"valgrind --suppressions=%s --leak-check=full --show-reachable=yes --error-exitcode=2 --errors-for-leak-kinds=all %s"
892+
'valgrind --suppressions="%s" --leak-check=full --show-reachable=yes --error-exitcode=2 --errors-for-leak-kinds=all %s'
893893
% (suppressions_path, path_cmd)
894894
)
895895
else:

0 commit comments

Comments
 (0)