Index: tools/test.py |
diff --git a/tools/test.py b/tools/test.py |
index d86c596b9706b76def279668086289d31a4ef67a..d40159c6f2c67aaa91518fc952383e4324d2b7d1 100755 |
--- a/tools/test.py |
+++ b/tools/test.py |
@@ -1273,12 +1273,12 @@ def ProcessOptions(options): |
if options.special_command: |
options.special_command += " --crankshaft" |
else: |
- options.special_command = "@--crankshaft" |
- if options.shell == "d8": |
+ options.special_command = "@ --crankshaft" |
+ if options.shell.endswith("d8"): |
if options.special_command: |
options.special_command += " --test" |
else: |
- options.special_command = "@--test" |
+ options.special_command = "@ --test" |
if options.noprof: |
options.scons_flags.append("prof=off") |
options.scons_flags.append("profilingsupport=off") |