Skip to content

Commit b795e3e

Browse files
authored
testing: fix shell command quoting to work the same on Unix and Windows (#1925)
Signed-off-by: Larry Gritz <[email protected]>
1 parent 121638e commit b795e3e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

testsuite/lazytrace/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
# Run once with default (lazytrace=1), and once explicitly disabled
1414
command += testshade(shader_commands)
15-
command += testshade("{} --options 'lazytrace=0'".format(shader_commands))
15+
command += testshade("{} --options \"lazytrace=0\"".format(shader_commands))

testsuite/reparam-string/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
command += testshade(" ".join([
88
"--layer lay0",
9-
"--param:type=string:interactive=1 test_string 'initial value'",
9+
"--param:type=string:interactive=1 test_string \"initial value\"",
1010
"test --iters 2",
11-
"--reparam:type=string:interactive=1 lay0 test_string 'updated value'",
11+
"--reparam:type=string:interactive=1 lay0 test_string \"updated value\"",
1212
]))
1313

1414
outputs = [ "out.txt" ]

0 commit comments

Comments
 (0)