Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 20 of 20) sorted by relevance

/art/test/testrunner/
Drun_build_test_target.py83 cmd = ['art/tools/golem/build-target.sh'] variable
84 cmd += ['-j' + str(n_threads)]
85 cmd += ['--showcommands']
86 cmd += ['--machine-type=%s' %(machine_type)]
87 cmd += ['--golem=%s' %(default_golem_config)]
88 cmd += ['--tarball']
89 sys.stdout.write(str(cmd) + '\n')
92 if subprocess.call(cmd):
/art/tools/common/
Dcommon.py140 def RunCommandForOutput(cmd, env, stdout, stderr, timeout=60): argument
156 proc = Popen(cmd, stdout=stdout, stderr=stderr, env=env,
171 def _LogCmdOutput(logfile, cmd, output, retcode): argument
181 CommandListToCommandString(cmd), output, retcode))
184 def RunCommand(cmd, out, err, timeout=5): argument
203 (_, _, retcode) = RunCommandForOutput(cmd, None, outf, errf, timeout)
211 def CommandListToCommandString(cmd): argument
222 return ' '.join([shlex.quote(segment) for segment in cmd])
263 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument
337 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument
[all …]
/art/tools/jfuzz/
Drun_jfuzz_test_nightly.py39 cmd = [cwd + '/run_jfuzz_test.py']
46 cmd = cmd + unknown_args
50 print('**** Running ****\n\n', cmd, '\n')
55 processes.append(subprocess.Popen(cmd, stdout=output_file,
Drun_jfuzz_test.py261 cmd = self._dalvik_cmd + ['-cp', self._device_classpath, 'Test']
263 cmd, {'ANDROID_LOG_TAGS': '*:s'})
273 cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)]
275 cmd += ['--device-serial', self._device]
277 cmd.append('--device')
278 return cmd
328 cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)]
330 cmd += ['--device-serial', self._device]
332 cmd.append('--device')
333 return cmd
Drun_dex_fuzz_test.py141 cmd = ['dexfuzz'] + dexfuzz_args
142 print('**** Running ****\n\n', cmd, '\n')
143 call(cmd, env=self._dexfuzz_env)
/art/tools/bisection_search/
Dbisection_search.py115 cmd = self._PrepareCmd(compiled_methods=compiled_methods,
118 cmd, LogSeverity.ERROR)
137 cmd = self._PrepareCmd()
138 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO)
157 cmd = self._PrepareCmd(compiled_methods=[compiled_method])
158 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO)
167 cmd = self._base_cmd[0:self._arguments_position]
171 cmd += ['-Xcompiler-option', '--compiled-methods={0}'.format(
175 cmd += ['-Xcompiler-option', '--run-passes={0}'.format(
177 cmd += ['-Xcompiler-option', '--runtime-arg', '-Xcompiler-option',
[all …]
DREADME.md24 2. Raw-cmd invocation, dalvikvm command is accepted as an argument.
30 will fail if pid of the process started by raw-cmd is different than pid of runtime.
32 ./bisection_search.py --raw-cmd='run.sh -cp classes.dex Test' --expected-retcode SUCCESS
33 …./bisection_search.py --raw-cmd='/bin/sh art {ARGS} -cp classes.dex Test' --expected-retcode SUCCE…
39 [--image IMAGE] [--raw-cmd RAW_CMD]
46 Tool for finding compiler bugs. Either --raw-cmd or both -cp and --class are required.
58 … --raw-cmd RAW_CMD bisect with this command, ignore other command options
/art/compiler/utils/
Dassembler_thumb_test.cc122 char cmd[1024]; in DumpAndCheck() local
125 snprintf(cmd, sizeof(cmd), "%sas %s -o %s.o", toolsdir.c_str(), filename, filename); in DumpAndCheck()
126 int cmd_result = system(cmd); in DumpAndCheck()
131 snprintf(cmd, sizeof(cmd), "%sobjcopy -N '$d' %s.o %s.oo", toolsdir.c_str(), filename, filename); in DumpAndCheck()
132 int cmd_result2 = system(cmd); in DumpAndCheck()
137 snprintf(cmd, sizeof(cmd), "%sobjdump -d %s.oo | grep '^ *[0-9a-f][0-9a-f]*:'", in DumpAndCheck()
142 strcat(cmd, " | sed '-es/^/ \"/' | sed '-es/$/\\\\n\",/'"); in DumpAndCheck()
143 int cmd_result3 = system(cmd); in DumpAndCheck()
147 FILE *fp = popen(cmd, "r"); in DumpAndCheck()
Dassembler_test_base.h227 std::string cmd = android::base::Join(args, ' '); in Assemble() local
232 args.push_back(cmd); in Assemble()
263 std::string cmd = android::base::Join(args, ' '); in Objdump() local
268 args.push_back(cmd); in Objdump()
344 std::string cmd = android::base::Join(args, ' '); in DisassembleBinary() local
349 args.push_back(cmd); in DisassembleBinary()
/art/compiler/debug/dwarf/
Ddwarf_test.h87 std::string cmd = GetAndroidHostToolsDir(); in Objdump() local
88 cmd = cmd + "objdump " + args + " " + file.GetFilename() + " 2>&1"; in Objdump()
89 FILE* output = popen(cmd.data(), "r"); in Objdump()
/art/test/971-iface-super/util-src/
Dgenerate_java.py70 cmd = ['sh', '-a', '-e', '--', str(self.javac)] + args + files
71 print("Running compile command: {}".format(cmd))
72 subprocess.check_call(cmd)
/art/test/968-default-partial-compile-gen/util-src/
Dgenerate_java.py70 cmd = ['sh', '-a', '-e', '--', str(self.javac)] + args + files
71 print("Running compile command: {}".format(cmd))
72 subprocess.check_call(cmd)
/art/runtime/
Dnative_stack_dump.cc262 static bool RunCommand(const std::string& cmd) { in RunCommand() argument
263 FILE* stream = popen(cmd.c_str(), "r"); in RunCommand()
DAndroid.bp433 cmd: "$(location generate-operator-out.py) art/runtime $(in) > $(out)",
/art/tools/cpp-define-generator/
DAndroid.bp46 cmd: "$(location verify-asm-support) --quiet \"$(location cpp-define-generator-data)\" \"$(out)\""
/art/dexlayout/
Ddexdiag.cc435 static void Usage(const char* cmd) { in Usage() argument
436 std::cout << "Usage: " << cmd << " [options] pid" << std::endl in Usage()
/art/tools/
Dart111 # Given 'VAR1=VAL VAR2=VAL2 ... cmd arg1 arg2 ... argN' run the 'cmd' with the args
/art/test/
Drun-test959 --raw-cmd="$raw_cmd" \
/art/runtime/jdwp/
Djdwp_handler.cc1439 uint8_t cmd; member
1582 gHandlers[i].cmd == request->GetCommand()) { in GetCommandName()
1655 gHandlers[i].cmd == request->GetCommand() && in ProcessRequest()
/art/compiler/
DAndroid.bp217 cmd: "$(location generate-operator-out.py) art/compiler $(in) > $(out)",