Home
last modified time | relevance | path

Searched refs:test_name (Results 1 – 25 of 48) sorted by relevance

12

/test/vts/utils/python/fuzzer/
Dcorpus_manager.py113 def FetchCorpusSeed(self, test_name, local_temp_dir): argument
127 logging.debug('Attempting to fetch corpus seed for %s.', test_name)
133 test_name, local_temp_dir, 'corpus_seed')
138 test_name, local_temp_dir, CORPUS_PRIORITY)
144 self._GetDirPaths('corpus_lock', test_name)):
148 self.add_lock(test_name, local_temp_dir)
149 self._FetchCorpusSeedDirectory(test_name, local_temp_dir)
152 def _FetchCorpusSeedFromPriority(self, test_name, local_temp_dir, argument
171 corpus_seed_dir = self._GetDirPaths(CORPUS_PRIORITY, test_name)
183 inuse_seed = self._GetFilePaths('corpus_inuse', test_name,
[all …]
/test/framework/harnesses/host_controller/campaigns/
Dcampaign_test.py35 test_name = "vts/vts"
37 **default_testcase.GenerateInputData(test_name))
39 default_testcase.GenerateOutputData(test_name), results)
43 test_name = "vts/cts-on-gsi"
45 **default_testcase.GenerateInputData(test_name))
47 default_testcase.GenerateOutputData(test_name), results)
51 test_name = "cts/cts"
53 **default_testcase.GenerateInputData(test_name))
55 default_testcase.GenerateOutputData(test_name), results)
59 test_name = "gts/gts"
[all …]
/test/vts/runners/host/
Dbase_test.py630 self.web.AddTestReport(test_record.test_name)
632 def _setUp(self, test_name): argument
639 msg = 'Framework self diagnose didn\'t pass for %s. Marking test as fail.' % test_name
669 def _tearDown(self, test_name): argument
676 self._exec_func(self.systrace.ProcessAndUploadSystrace, test_name)
699 record.test_name, record.result)
706 self.onFail(record.test_name, begin_time)
708 self.DumpBugReport(record.test_name)
710 self.DumpLogcat(record.test_name)
713 def onFail(self, test_name, begin_time): argument
[all …]
Drecords.py67 self.test_name = t_name
80 return '%s.%s' % (self.test_class, self.test_name)
179 return "%s %s %s" % (t, self.test_name, self.result)
188 d[TestResultEnums.RECORD_NAME] = self.test_name
/test/vts/script/
Dcreate-test-project.py51 def __init__(self, test_name, test_plan, test_dir_under_testcases, argument
67 if not self.IsUpperCamel(test_name):
70 self.test_name = test_name
165 test_name=self.test_name,
188 test_name=self.test_name,
193 test_case_file_without_extension=self.test_name))
197 target = os.path.join(self.test_dir, '%s.py' % self.test_name)
203 f.write(TEST_CASE_PY_TEMPLATE.format(test_name=self.test_name))
230 test_case_creater = TestCaseCreator(args.test_name, args.test_plan,
/test/vts/testcases/template/binary_test/
Dbinary_test_case.py59 test_name, argument
71 self.test_name = test_name
112 self.test_suite, self.test_name)
113 if self.test_suite else self.test_name)
155 def test_name(self): member in BinaryTestCase
159 @test_name.setter
160 def test_name(self, test_name): member in BinaryTestCase
162 self._test_name = _SafeStrip(test_name)
/test/vti/test_serving/gae/webapp/src/tasks/
Dindexing_test.py59 job.test_name = schedule.test_name
97 (parent_schedule.test_name == job.test_name) and
120 schedule = self.GenerateScheduleModel(test_name=str(num + 1))
129 for _ in xrange(int(schedule.test_name)):
132 job.test_name = schedule.test_name
170 (parent_schedule.test_name == job.test_name) and
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker_test.py97 test_name=high_priority_schedule_test_name)
104 test_name=medium_priority_schedule_test_name)
113 self.assertEqual(schedules[0].test_name,
134 test_name=high_priority_schedule_test_name,
143 test_name=medium_priority_schedule_test_name,
160 self.assertEqual(jobs[0].test_name, high_priority_schedule_test_name)
173 self.assertEqual(jobs[0].test_name, high_priority_schedule_test_name)
191 self.assertEqual(jobs[0].test_name, medium_priority_schedule_test_name)
256 any([job.test_name == schedule2_h.test_name for job in jobs]))
258 any([job.test_name == schedule2_m.test_name for job in jobs]))
[all …]
/test/framework/harnesses/host_controller/campaigns/testdata/
Ddefault_testcase.py100 def GenerateInputData(test_name): argument
103 new_data["test_name"] = test_name
107 def GenerateOutputData(test_name): argument
109 test_suite, test_plan = test_name.split("/")
/test/vts/utils/native/trace_processor/
DVtsTraceProcessor.h126 std::string test_name; member
140 TraceSummary(std::string test_name, std::string package, int version_major, in TraceSummary()
143 : test_name(test_name), in TraceSummary()
161 const std::string& test_name,
DVtsTraceProcessor.cpp558 test_list[it->first].insert(summary.test_name); in GetTestListForHal()
577 obj["Test_name"] = summary.test_name; in GetTestListForHal()
589 return (trace_summary.test_name == test); in GetTestListForHal()
592 fout << found->test_name << "(" << found->unique_api_count << "/" in GetTestListForHal()
614 string test_name = test_dir->d_name; in GetHalTraceMapping() local
615 cout << "Processing test: " << test_name << endl; in GetHalTraceMapping()
620 trace_file_dir_name += test_name; in GetHalTraceMapping()
627 GetHalTraceSummary(trace_file_name, test_name, &trace_summaries); in GetHalTraceMapping()
635 string test_name = trace_summary.test_name; in GetHalTraceMapping() local
659 const string& trace_file, const string& test_name, in GetHalTraceSummary() argument
[all …]
/test/vts/testcases/template/param_test/
Dparam_test.py98 for idx, (test_name, test_func) in enumerate(tests):
99 param_test_name = str(test_name + self.getParamTag(param))
103 records.TestResultRecord(test_name, self.test_module_name)
104 for test_name, _ in tests
/test/vts/testcases/template/gtest_binary_test/
Dgtest_test_case.py41 test_name=None, argument
59 if not test_name:
60 test_name = self.full_name
64 test = test_name,
/test/vts-testcase/kernel/api/libcutils/
DVtsKernelLibcutilsTest.py35 def filterOneTest(self, test_name): argument
58 super(VtsKernelLibcutilsTest, self).filterOneTest(test_name)
60 test_name.split('.')[0] not in self.include_test_suite,
/test/vts-testcase/fuzz/script/config/
Dconfig_gen.py151 test_name = 'VtsHal'
152 test_name += ''.join(map(lambda x: x.title(), hal_name.split('.')))
153 test_name += self._utils.HalVerDir(hal_version)
154 test_name += self._FuzzerTypeCamel(fuzzer_type)
155 return test_name
/test/vts-testcase/fuzz/template/libfuzzer_test/
Dlibfuzzer_test.py188 test_case.test_name)
249 test_case.test_name, crash_report)
270 test_case.test_name)
276 asserts.fail('%s failed normally.' % test_case.test_name)
278 asserts.fail('%s failed abnormally.' % test_case.test_name)
294 name_func=lambda x: x.test_name)
Dlibfuzzer_test_case.py94 def test_name(self): member in LibFuzzerTestCase
98 @test_name.setter
99 def test_name(self, name): member in LibFuzzerTestCase
/test/vti/test_serving/gae/webapp/src/endpoint/
Djob_queue_test.py116 test_name=response.jobs[0].test_name,
136 test_name=response.jobs[0].test_name,
Djob_queue.py97 model.JobModel.test_name == request.test_name,
110 request.build_target, request.test_name, request.serial))
124 job.hostname, job.test_name, job.timestamp))
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py396 test_name = name_func(test_case, *args)
400 self.InternalResultReportMultiThread(test_name, asserts.skipIf,
411 self.InternalResultReportMultiThread(test_name, asserts.skipIf,
436 test_name, self.CheckResult,
439 def InternalResultReportMultiThread(self, test_name, function, args, argument
454 tr_record = records.TestResultRecord(test_name, self.test_module_name)
457 self.execOneTest(test_name, function, args, **kwargs)
/test/vts/runners/target/gtest/
Dgtest_main.cpp179 void AppendTest(const char* test_name) { in AppendTest() argument
180 test_list_.push_back(Test(test_name)); in AppendTest()
625 const std::string& test_name) { in ChildProcessFn() argument
629 char* filter_arg = new char[test_name.size() + 20]; in ChildProcessFn()
631 strcat(filter_arg, test_name.c_str()); in ChildProcessFn()
641 static ChildProcInfo RunChildProcess(const std::string& test_name, in RunChildProcess() argument
668 ChildProcessFn(argc, argv, test_name); in RunChildProcess()
678 child_proc.start_time_ns + GetDeadlineInfo(test_name) * 1000000LL; in RunChildProcess()
693 std::string test_name = in HandleSignals() local
699 printf(" %s (%" PRId64 " ms)\n", test_name.c_str(), run_time_ms); in HandleSignals()
[all …]
/test/vts/utils/python/controllers/
Dandroid_device.py316 def takeBugReports(ads, test_name, begin_time): argument
331 def take_br(test_name, begin_time, ad): argument
332 ad.takeBugReport(test_name, begin_time)
334 args = [(test_name, begin_time, ad) for ad in ads]
809 def takeBugReport(self, test_name, begin_time): argument
820 out_name = test_name[:test_name_len] + base_name
822 self.log.info("Taking bugreport for %s on %s", test_name, self.serial)
824 self.log.info("Bugreport for %s taken at %s", test_name, full_out_path)
/test/framework/harnesses/host_controller/utils/parser/
Dresult_utils.py128 test_name = test.attrib.get(common._NAME_ATTR_KEY, "")
129 return bitness, module_name, testcase_name, test_name
/test/vts-testcase/fuzz/kernel/syzkaller/
Dsyzkaller_test_case.py59 test_name = '%s_%s_%d' % (time.strftime('%Y-%m-%d'), self._device_code,
61 return str(test_name)
/test/vts/utils/python/systrace/
Dsystrace_utils.py89 def ProcessAndUploadSystrace(self, test_name): argument
118 test=test_name, process=process, time=time)

12