Searched refs:cmd_utils (Results 1 – 13 of 13) sorted by relevance
/test/vts/utils/python/common/ |
D | cmd_result_test.py | 19 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 …]
|
D | cmd_result.py | 15 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/ |
D | const.py | 16 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
|
D | base_test.py | 37 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/ |
D | gcs_utils.py | 23 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/ |
D | host_binary_test.py | 25 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/ |
D | coverage_utils.py | 28 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/ |
D | test_vtsc.py | 27 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/ |
D | profiling_utils.py | 26 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/ |
D | adb.py | 25 from vts.utils.python.common import cmd_utils 149 out, err, ret = cmd_utils.ExecuteOneShellCommand(cmd, timeout)
|
/test/vts-testcase/kernel/ltp/ |
D | environment_requirement_checker.py | 24 from vts.utils.python.common import cmd_utils
|
D | KernelLtpTest.py | 31 from vts.utils.python.common import cmd_utils
|
/test/vts/utils/python/reporting/ |
D | report_file_utils.py | 22 from vts.utils.python.common import cmd_utils
|