Searched refs:cmd_results (Results 1 – 6 of 6) sorted by relevance
/test/vts/utils/python/precondition/ |
D | precondition_utils.py | 65 cmd_results = shell.Execute("ps -A") 67 if (any(cmd_results[const.EXIT_CODE]) or 68 hwbinder_service_name not in cmd_results[const.STDOUT][0]): 127 cmd_results = shell.Execute("LD_LIBRARY_PATH= pm list features") 128 if (any(cmd_results[const.EXIT_CODE]) 129 or feature not in cmd_results[const.STDOUT][0]): 208 cmd_results = shell.Execute('getprop %s' % sysprop_key) 209 if any(cmd_results[const.EXIT_CODE]): 213 value = cmd_results[const.STDOUT][0].strip()
|
/test/vts/testcases/template/binary_test/ |
D | binary_test.py | 210 cmd_results = self.shell.Execute(cmd) 211 if any(cmd_results[const.EXIT_CODE]): 213 '%s\n%s', cmd, cmd_results) 341 cmd_results = self.shell.Execute(cmd, no_except=True) 342 if not cmd_results or any(cmd_results[const.EXIT_CODE]): 343 logging.warning('Failed to clean up test class: %s', cmd_results) 351 cmd_results = self.shell.Execute(cmd, no_except=True) 352 if not cmd_results or any(cmd_results[const.EXIT_CODE]): 353 logging.warning('Failed to remove: %s', cmd_results)
|
/test/vts-testcase/kernel/ltp/ |
D | KernelLtpTest.py | 215 def CheckResult(self, test_case, cmd_results, result=None, note=None): argument 227 asserts.assertTrue(cmd_results, "No response received. Socket timeout") 229 logging.info("stdout: %s", cmd_results[const.STDOUT]) 230 logging.info("stderr: %s", cmd_results[const.STDERR]) 231 logging.info("exit_code: %s", cmd_results[const.EXIT_CODE]) 234 result, note = self.Verify(test_case, cmd_results) 427 cmd_results = shell.Execute(cmd) 432 result, note = self.Verify(test_case, cmd_results) 442 (test_case, cmd_results, result, note))
|
/test/vts/testcases/template/hal_hidl_replay_test/ |
D | hal_hidl_replay_test.py | 161 cmd_results = self.shell.Execute( 163 if not cmd_results or any(cmd_results[const.EXIT_CODE]): 164 logging.warning("Failed to remove: %s", cmd_results)
|
/test/vts/testcases/template/gtest_binary_test/ |
D | gtest_binary_test.py | 108 cmd_results = self.shell.Execute(cmd) 110 asserts.assertFalse(any(cmd_results[const.EXIT_CODE]), 112 (path, cmd, cmd_results)) 115 for line in cmd_results[const.STDOUT][1].split('\n'):
|
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/ |
D | VtsHalAutomotiveVehicleV2_0HostTest.py | 79 cmd_results = self.shell.Execute("rm -rf %s" % self.DEVICE_TMP_DIR) 80 if not cmd_results or any(cmd_results[const.EXIT_CODE]) and DBG: 81 logging.info("Failed to remove: %s", cmd_results)
|