| Index: tools/test.py
|
| diff --git a/tools/test.py b/tools/test.py
|
| index 5131ad76172997d5e4f47c398771360d8af2cc6f..d3bfb5b8b5836d29956b8f76905f7dd14a11c5a6 100755
|
| --- a/tools/test.py
|
| +++ b/tools/test.py
|
| @@ -140,9 +140,9 @@ def EscapeCommand(command):
|
| parts = []
|
| for part in command:
|
| if ' ' in part:
|
| - # Escape spaces. We may need to escape more characters for this
|
| - # to work properly.
|
| - parts.append('"%s"' % part)
|
| + # Escape spaces and double quotes. We may need to escape more characters
|
| + # for this to work properly.
|
| + parts.append('"%s"' % part.replace('"', '\\"'))
|
| else:
|
| parts.append(part)
|
| return " ".join(parts)
|
| @@ -1283,7 +1283,7 @@ def ProcessOptions(options):
|
| options.scons_flags.append("arch=" + options.arch)
|
| # Simulators are slow, therefore allow a longer default timeout.
|
| if options.timeout == -1:
|
| - if options.arch == 'arm' or options.arch == 'mips':
|
| + if options.arch in ['android', 'arm', 'mips']:
|
| options.timeout = 2 * TIMEOUT_DEFAULT;
|
| else:
|
| options.timeout = TIMEOUT_DEFAULT;
|
|
|