Lines Matching refs:test
211 for test in root:
212 assert test.tag == 'test'
213 test_name = test.attrib['name']
221 for test_item in test:
479 def check_report_file(self, test, report_file, has_callgraph): argument
481 if not self._check_symbol_overhead_requirements(test, symbols):
484 if not self._check_symbol_children_overhead_requirements(test, symbols):
486 if not self._check_symbol_relation_requirements(test, symbols):
490 def _check_symbol_overhead_requirements(self, test, symbols): argument
492 matched = [False] * len(test.symbol_overhead_requirements)
493 matched_overhead = [0] * len(test.symbol_overhead_requirements)
495 for i in range(len(test.symbol_overhead_requirements)):
496 req = test.symbol_overhead_requirements[i]
503 test.symbol_overhead_requirements[i], test)
509 symbol, req, test)
513 def _check_symbol_children_overhead_requirements(self, test, symbols): argument
515 matched = [False] * len(test.symbol_children_overhead_requirements)
517 for i in range(len(test.symbol_children_overhead_requirements)):
518 req = test.symbol_children_overhead_requirements[i]
524 symbol, req, test)
529 test.symbol_children_overhead_requirements[i], test)
533 def _check_symbol_relation_requirements(self, test, symbols): argument
535 matched = [False] * len(test.symbol_relation_requirements)
537 for i in range(len(test.symbol_relation_requirements)):
538 req = test.symbol_relation_requirements[i]
544 symbol, req, test)
549 test.symbol_relation_requirements[i], test)
569 for test in tests:
570 if test.disable_host and runner.target.startswith('host'):
571 print('Skip test %s on %s' % (test.test_name, runner.target))
573 runner.record(test.executable_name, 'perf.data', additional_options = test.record_options)
582 runner.report('perf.data', 'perf.report', additional_options = test.report_options)
583 result = report_analyzer.check_report_file(test, 'perf.report', runner.use_callgraph)
584 str = 'test %s on %s ' % (test.test_name, runner.target)
599 for test in tests:
600 if test.test_name in selected_tests:
601 new_tests.append(test)
633 for test in sys.argv[i].split(','):
636 selected_tests[test] = True