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
diff --git a/test.py b/test.py
index bc15736..9e54363 100755
--- a/test.py
+++ b/test.py
@@ -62,14 +62,9 @@
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)