Home
last modified time | relevance | path

Searched refs:cmd_utils (Results 1 – 13 of 13) sorted by relevance

/test/vts/utils/python/common/
Dcmd_result_test.py19 import vts.utils.python.common.cmd_utils as cmd_utils namespace
67 self.assertEqual(self.res_single_no_error[cmd_utils.STDOUT][0], 'stdout')
68 self.assertFalse(self.res_single_no_error[cmd_utils.STDERR][0])
69 self.assertFalse(any(self.res_single_no_error[cmd_utils.STDERR]))
70 self.assertFalse(self.res_single_no_error[cmd_utils.EXIT_CODE][0])
71 self.assertFalse(any(self.res_single_no_error[cmd_utils.EXIT_CODE]))
86 self.assertEqual(self.res_multiple_no_error[cmd_utils.STDOUT][0], 'stdout1')
87 self.assertEqual(self.res_multiple_no_error[cmd_utils.STDOUT][1], 'stdout2')
88 self.assertFalse(any(self.res_multiple_no_error[cmd_utils.STDERR]))
89 self.assertFalse(any(self.res_multiple_no_error[cmd_utils.EXIT_CODE]))
[all …]
Dcmd_result.py15 import vts.utils.python.common.cmd_utils as cmd_utils namespace
125 if key == cmd_utils.STDOUT:
127 elif key == cmd_utils.STDERR:
129 elif key == cmd_utils.EXIT_CODE:
/test/vts/runners/host/
Dconst.py16 from vts.utils.python.common import cmd_utils
18 STDOUT = cmd_utils.STDOUT
19 STDERR = cmd_utils.STDERR
20 EXIT_CODE = cmd_utils.EXIT_CODE
Dbase_test.py37 from vts.utils.python.common import cmd_utils
1252 results = cmd_utils.ExecuteShellCommand(cmd)
1254 logging.debug(' output: %s', results[cmd_utils.STDOUT][0])
/test/vts/utils/python/gcs/
Dgcs_utils.py23 from vts.utils.python.common import cmd_utils
59 _, stderr, ret_code = cmd_utils.ExecuteOneShellCommand(auth_cmd)
68 sh_stdout, _, ret_code = cmd_utils.ExecuteOneShellCommand(
80 sh_stdout, sh_stderr, ret_code = cmd_utils.ExecuteOneShellCommand(
/test/vts/testcases/template/host_binary_test/
Dhost_binary_test.py25 from vts.utils.python.common import cmd_utils
53 cmd_result = cmd_utils.ExecuteShellCommand(binary_path)
55 any(cmd_result[cmd_utils.EXIT_CODE]),
/test/vts/utils/python/coverage/
Dcoverage_utils.py28 from vts.utils.python.common import cmd_utils
339 results = cmd_utils.ExecuteShellCommand(
341 if (results[cmd_utils.EXIT_CODE][0]):
344 (cmd, str(results[cmd_utils.STDERR][0])))
691 results = cmd_utils.ExecuteShellCommand("adb -s %s shell %s" %
693 if (results[cmd_utils.EXIT_CODE][0]):
695 (cmd, str(results[cmd_utils.STDERR][0])))
698 return results[cmd_utils.STDOUT][0]
/test/vts/compilation_tools/vtsc/test/
Dtest_vtsc.py27 from vts.utils.python.common import cmd_utils
152 return_code = cmd_utils.RunCommand(vtsc_cmd)
171 return_code = cmd_utils.RunCommand(hidl_gen_cmd)
209 return_code = cmd_utils.RunCommand(vtsc_cmd)
/test/vts/utils/python/profiling/
Dprofiling_utils.py26 from vts.utils.python.common import cmd_utils
176 results = cmd_utils.ExecuteShellCommand(file_cmd)
258 results = cmd_utils.ExecuteShellCommand(trace_processor_cmd)
259 if any(results[cmd_utils.EXIT_CODE]):
/test/vts/utils/python/controllers/
Dadb.py25 from vts.utils.python.common import cmd_utils
149 out, err, ret = cmd_utils.ExecuteOneShellCommand(cmd, timeout)
/test/vts-testcase/kernel/ltp/
Denvironment_requirement_checker.py24 from vts.utils.python.common import cmd_utils
DKernelLtpTest.py31 from vts.utils.python.common import cmd_utils
/test/vts/utils/python/reporting/
Dreport_file_utils.py22 from vts.utils.python.common import cmd_utils