Home
last modified time | relevance | path

Searched refs:test_case (Results 1 – 11 of 11) sorted by relevance

/test/vts-testcase/kernel/ltp/
Denvironment_requirement_checker.py77 def GetRequirements(self, test_case): argument
88 if test_case.fullname in tests)
93 if test_case.testsuite in tests)
97 def Check(self, test_case): argument
110 if (test_case.requirement_state ==
112 not self.TestBinaryExists(test_case)):
115 for requirement in self.GetRequirements(test_case):
123 logging.info("Result for %s's requirement %s is %s", test_case,
126 test_case.requirement_state = ltp_enums.RequirementState.UNSATISFIED
127 test_case.note = note
[all …]
DKernelLtpTest.py183 def Verify(self, test_case, results): argument
207 not test_case.is_mandatory):
215 def CheckResult(self, test_case, cmd_results, result=None, note=None): argument
234 result, note = self.Verify(test_case, cmd_results)
333 for test_case in settings:
334 if (test_case.is_staging or test_case.testsuite in
336 settings_singlethread.append(test_case)
338 settings_multithread.append(test_case)
367 for test_case in failed_test_set:
368 failed_multithread_tests.add(test_case)
[all …]
Dtest_cases_parser.py24 from vts.testcases.kernel.ltp import test_case
116 testcase = test_case.TestCase(
/test/vts/testcases/template/gtest_binary_test/
Dgtest_binary_test.py124 test_case = gtest_test_case.GtestTestCase(
128 logging.debug('Gtest test case: %s' % test_case)
129 test_cases.append(test_case)
148 def VerifyTestResult(self, test_case, command_results): argument
186 self._ParseBatchResults(test_case, xml_str)
247 for test_case in test_suite:
250 test_case.get('name'), '', test_case_original.tag,
254 for sub in test_case:
259 lambda sub: sub.tag not in _GTEST_RESULT_ATTRIBUTE_ALLOW_LIST, test_case)
261 failure_message = 'Error: %s\n' % test_case.attrib
[all …]
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py94 test_case = self.CreateReplayTestCase(
98 test_case.args += " --hal_service_instance=" + instance
102 test_case.name_appendix = name_appendix
103 self.testcases.append(test_case)
107 test_case = self.CreateReplayTestCase(trace_file_name,
109 self.testcases.append(test_case)
118 test_case = super(HalHidlReplayTest, self).CreateTestCase(
120 test_case.envp += "LD_LIBRARY_PATH=%s:$LD_LIBRARY_PATH" % self.custom_ld_library_path
121 test_case.args += " --spec_dir_path=" + self.DEVICE_VTS_SPEC_FILE_PATH
122 test_case.args += " " + target_trace_path
[all …]
/test/vts-testcase/kernel/linux_kselftest/
Dkselftest_config.py17 from vts.testcases.kernel.linux_kselftest import test_case
34 KSFT_CASES_PRESUBMIT = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [
37 KSFT_CASES_STABLE = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [
76 KSFT_CASES_STAGING = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [
/test/vts/testcases/template/binary_test/
Dbinary_test.py208 set('chmod 755 %s' % test_case.path
209 for test_case in self.testcases))
461 def VerifyTestResult(self, test_case, command_results): argument
472 test_case, command_results))
474 def RunTestCase(self, test_case): argument
482 test_case.profiling_library_path)
484 cmd = test_case.GetRunCommand()
488 self.VerifyTestResult(test_case, command_results)
/test/vts/testcases/template/hal_hidl_gtest/
Dhal_hidl_gtest.py193 for test_case in initial_test_cases:
194 new_test_case = copy.copy(test_case)
214 for test_case in self.testcases:
216 test_case.envp += envp
/test/vts/utils/python/web/
Dweb_utils.py134 self.report_msg.test_case.remove(self.current_test_report_msg)
149 self.current_test_report_msg = self.report_msg.test_case.add()
437 msg = self.report_msg.test_case.add()
453 if len(self.report_msg.test_case) == 0:
/test/vts-testcase/kernel/ltp/testcase/tools/
Dltp_test_cases.py22 import test_case
198 testcase = test_case.TestCase(
/test/vts/proto/
DVtsReportMessage.proto300 repeated TestCaseReportMessage test_case = 11; field