diff options
author | 2018-06-12 16:16:41 -0700 | |
---|---|---|
committer | 2018-06-12 16:42:19 -0700 | |
commit | 0d20d58c0d543a25b2dece1aeccd4c9984c7124c (patch) | |
tree | 0dc566fa347060622c0aa5c4d2841a99ee1ffd10 | |
parent | ff5d955306660a6f6515967659515717076c1d87 (diff) |
Add missing spaces in constructing args
We were missing a few spaces in some argument strings. This could
cause the testrunner to fail if it is used with a --run-test-option or
with multiple target options.
Test: ./test/testrunner/testrunner.py --host --jvm
Test: ./test/testrunner/testrunner.py --host --run-test-option='--with-agent libtifast.so=MethodEntry,MethodExit'
Change-Id: I8b4330c252e2f13f4591bbeadef3532ca7b31d06
-rwxr-xr-x | test/testrunner/testrunner.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testrunner/testrunner.py b/test/testrunner/testrunner.py index 067e678ca1..e8d4290d28 100755 --- a/test/testrunner/testrunner.py +++ b/test/testrunner/testrunner.py @@ -328,7 +328,7 @@ def run_tests(tests): if gdb_arg: options_all += ' --gdb-arg ' + gdb_arg - options_all += ' '.join(run_test_option) + options_all += ' ' + ' '.join(run_test_option) if runtime_option: for opt in runtime_option: @@ -1010,11 +1010,11 @@ def main(): if build: build_targets = '' if 'host' in _user_input_variants['target']: - build_targets += 'test-art-host-run-test-dependencies' + build_targets += 'test-art-host-run-test-dependencies ' if 'target' in _user_input_variants['target']: - build_targets += 'test-art-target-run-test-dependencies' + build_targets += 'test-art-target-run-test-dependencies ' if 'jvm' in _user_input_variants['target']: - build_targets += 'test-art-host-run-test-dependencies' + build_targets += 'test-art-host-run-test-dependencies ' build_command = 'make' build_command += ' DX=' build_command += ' -j' |