diff options
author | Martin Stjernholm <mast@google.com> | 2019-08-09 13:17:45 +0100 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-08-09 18:14:51 +0000 |
commit | 411a6de63982d1e6ec16e11141725ff95cbdfab9 (patch) | |
tree | f091c077c5fb4fc37cd47c36b46a7a42263c10a1 /test.py | |
parent | d5ec2a1321106a4bc56cba197dfbc538c09b4ae9 (diff) |
Use m instead of make.
make is deprecated and is now a bash-only function.
Test: art/test.py --host --64 --optimizing
Test: cd art && ./test.py --host --64 --optimizing
Change-Id: I5ee4a8735e57ac404365b1e5fd17d615f0be918a
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -62,14 +62,9 @@ if options.gtest or not options.run_test: if options.target or not options.host: build_target += ' test-art-target-gtest' - build_command = 'make' - build_command += ' -j' + str(options.n_threads) - build_command += ' -C ' + ANDROID_BUILD_TOP - build_command += ' ' + build_target - + build_command = 'm -j' + str(options.n_threads) + ' ' + build_target print build_command - - if subprocess.call(build_command.split()): + if subprocess.call(build_command.split(), cwd=ANDROID_BUILD_TOP): sys.exit(1) sys.exit(0) |