File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python3
2
2
#
3
3
# Copyright 2017, The Android Open Source Project
4
4
#
51
51
run_test_args .append (arg )
52
52
53
53
test_runner_cmd = [testrunner ] + run_test_args
54
- print test_runner_cmd
54
+ print ( test_runner_cmd )
55
55
if subprocess .call (test_runner_cmd ) or options .help_runner :
56
56
sys .exit (1 )
57
57
62
62
if options .target or not options .host :
63
63
build_target += ' test-art-target-gtest'
64
64
65
- build_command = 'm -j' + str (options .n_threads ) + ' ' + build_target
66
- print build_command
65
+ build_command = ANDROID_BUILD_TOP + '/build/soong/soong_ui.bash --make-mode'
66
+ build_command += ' -j' + str (options .n_threads )
67
+ build_command += ' ' + build_target
68
+ print (build_command )
67
69
if subprocess .call (build_command .split (), cwd = ANDROID_BUILD_TOP ):
68
- sys .exit (1 )
70
+ sys .exit (1 )
69
71
70
72
sys .exit (0 )
You can’t perform that action at this time.
0 commit comments