Home
last modified time | relevance | path

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

/test/vts-testcase/fuzz/template/libfuzzer_test/
Dlibfuzzer_test.py83 def CreateCorpusOut(self, test_case): argument
92 corpus_out = test_case.GetCorpusOutDir()
95 def RetrieveCorpusSeed(self, test_case): argument
109 test_case._test_name, self._temp_dir)
111 self._temp_dir, '%s_corpus_seed' % test_case._test_name)
116 corpus_seed = test_case.GetCorpusSeedDir()
120 def AnalyzeGeneratedCorpus(self, test_case): argument
132 self._temp_dir, os.path.basename(test_case.GetCorpusOutDir()))
144 def EvaluateTestcase(self, test_case, result, inuse_seed): argument
161 self._corpus_manager.InuseToDest(test_case._test_name,
[all …]
/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/fuzz/kernel/syzkaller/
Dsyzkaller_test.py102 def RunTestCase(self, test_case): argument
108 test_command = test_case.GetRunCommand()
115 self.ReportTestCase(test_case)
117 def ReportTestCase(self, test_case): argument
123 self.AssertTestCaseResult(test_case)
124 self._gcs_api_utils.UploadDir(test_case._work_dir_path,
127 def AssertTestCaseResult(self, test_case): argument
138 crash_dir = os.path.join(test_case._work_dir_path, 'crashes')
141 test_case._test_name)
144 test_case._test_name)
/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-testcase/hal/media/c2/V1_0/host/
DVtsHalMediaC2V1_0HostTest.py121 test_case = copy.copy(gtest_case)
122 test_case.args += " -I " + component['owner']
123 test_case.args += " -C " + component['name']
124 test_case.name_appendix = '_' + component['owner'] + \
125 '_' + component['name'] + test_case.name_appendix
126 test_cases.append(test_case)
/test/vts-testcase/kernel/api/binder/
DVtsKernelBinderTest.py66 def RunTestCase(self, test_case): argument
72 asserts.skipIf((self._TAG_IPC32 in test_case.tag and
75 asserts.skipIf(self._TAG_IPC64 in test_case.tag and self._is_32,
77 super(VtsKernelBinderTest, self).RunTestCase(test_case)
/test/vts-testcase/fuzz/template/iface_fuzzer_test/
Diface_fuzzer_test.py119 test_case = libfuzzer_test_case.LibFuzzerTestCase(
121 test_case.test_name = iface
122 test_cases.append(test_case)
127 def LogCrashReport(self, test_case): argument
131 repro_cmd = '"%s %s"' % (test_case.GetRunCommand(debug_mode=True),
/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-testcase/fuzz/template/func_fuzzer_test/
Dfunc_fuzzer_test.py106 test_case = libfuzzer_test_case.LibFuzzerTestCase(
108 test_case.test_name = api.name
109 test_cases.append(test_case)
/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