Home
last modified time | relevance | path

Searched refs:report (Results 1 - 25 of 40) sorted by relevance

12

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
H A Dreport.py29 _LOGGER = logging.getLogger("runner.reports.report")
48 report_root = path.join(self.__test_env.work_dir.report, "known" if test_result.ignored else "new")
51 f"{test_result.test_id}.report-{self.__test_env.timestamp}.{report_format.value}")
52 report = format_to_report[report_format](test_result)
54 write_2_file(report_path, report.make_report())
103 actual_report = self.test.report if self.test.report is not None else TestReport("", "", -1)
109 report = file_pointer.read()
111 report = report
[all...]
H A Dhtml_view.py54 report = file_pointer.read()
56 report = report.replace(INDEX_TITLE, f"Summary for {self.__summary.name} {datetime.now(pytz.UTC)}")
57 report = report.replace(INDEX_OPTIONS, str(self.__config))
58 report = report.replace(INDEX_TOTAL, str(self.__summary.total))
59 report = report.replace(INDEX_PASSED, str(self.__summary.passed))
60 report
[all...]
H A Ddetailed_report.py48 self.report_file = path.join(report_path, f"{test_suite}_detailed-report.md")
75 report = file_pointer.read()
76 report = report.replace(self.REPORT_DATE, str(date.today()))
77 report = report.replace(self.REPORT_TEST_SUITE, self.test_suite)
79 report = report.replace(self.REPORT_EXCLUDED_HEADER, "")
80 report = report
[all...]
H A Dspec_report.py61 str(md_report) if md_report else path.join(report_path, f"{test_suite}_spec-report.md")
64 str(yaml_report) if yaml_report else path.join(report_path, f"{test_suite}_spec-report.yaml")
121 report = file.read()
122 report = report.replace(self.REPORT_DATE, str(date.today()))
123 report = report.replace(self.REPORT_TEST_SUITE, self.test_suite)
124 report = report.replace(self.REPORT_SPEC_FILE, self.__fmt_str(str(self.spec_file)))
125 report
[all...]
H A Dxml_view.py35 self.__report_xml = 'report.xml' # filename of xml report in junit format
89 if not isinstance(test_result, TestFileBased) or not test_result.report or test_result.fail_kind is None:
94 if test_result.report.output:
95 status += str(re.sub(r'\[.*\]', '', test_result.report.output.splitlines()[0]))
96 elif test_result.report.error:
97 status += str(re.sub(r'\[.*\]', '', test_result.report.error.splitlines()[0]))
103 result.append(f"OUT: {test_result.report.output}")
104 result.append(f"ERR: {test_result.report.error}")
105 result.append(f"return_code = {test_result.report
[all...]
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
H A Dtest_gc_ark_reporter.py57 report = ArkGcLogReporter().generate_report(events)
59 report['gc_vm_time'])
60 self.assertEqual(len(events), report['gc_pause_count'])
61 self.assertEqual(sum(map(lambda x: x.pause_time, events)), report['gc_total_time'])
62 self.assertEqual(len(events), len(report['gc_pauses']))
63 for i, p in enumerate(report['gc_pauses']):
72 unittest.TestCase.fail(self, f'Bad report property: {e}')
82 report = ArkGcLogReporter().generate_report([])
83 actual_props = [*report.keys()]
128 report
[all...]
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A DgetterSetterValidation.cpp61 auto const report = [&ctx, &result, method](const std::string &msg) { in ValidateGetter() local
70 report("GETTER METHOD DOES NOT HAVE GETTER FLAG"); in ValidateGetter()
77 report("GETTER METHOD HAS VOID RETURN TYPE IN RETURN TYPE ANNOTATION"); in ValidateGetter()
83 report("MISSING RETURN STATEMENT IN GETTER METHOD"); in ValidateGetter()
90 report("MISSING RETURN TYPE ANNOTATION AND RETURN STATEMENT IN GETTER METHOD"); in ValidateGetter()
98 report("GETTER METHOD HAS VOID RETURN TYPE"); in ValidateGetter()
105 report("GETTER METHOD HAS INCORRECT NUMBER OF ARGUMENTS"); in ValidateGetter()
118 auto const report = [&ctx, &result, method](const std::string &msg) { in ValidateSetter() local
127 report("SETTER METHOD DOES NOT HAVE SETTER FLAG"); in ValidateSetter()
134 report("SETTE in ValidateSetter()
[all...]
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dmem_stats_gen_gc_test.cpp229 void MakeAllocationsWithSingleRepeat(MemStatsGenGCTest::GcData &gcData, MemStatsGenGCTest::MemOpReport &report,
233 void MakeAllocationsWithSeveralRepeat(MemStatsGenGCTest::GcData &gcData, MemStatsGenGCTest::MemOpReport &report,
297 MemStatsGenGCTest::MemOpReport &report, size_t &bytes, in MakeAllocationsWithSingleRepeat()
302 report.allocatedCount += 1; in MakeAllocationsWithSingleRepeat()
303 report.allocatedBytes += bytes; in MakeAllocationsWithSingleRepeat()
306 report.savedCount = report.allocatedCount; in MakeAllocationsWithSingleRepeat()
307 report.savedBytes = report.allocatedBytes; in MakeAllocationsWithSingleRepeat()
313 MemStatsGenGCTest::MemOpReport &report, size_ in MakeAllocationsWithSeveralRepeat()
296 MakeAllocationsWithSingleRepeat(MemStatsGenGCTest::GcData &gcData, MemStatsGenGCTest::MemOpReport &report, size_t &bytes, size_t &rawObjectsSize, [[maybe_unused]] F spaceCheck) MakeAllocationsWithSingleRepeat() argument
312 MakeAllocationsWithSeveralRepeat(MemStatsGenGCTest::GcData &gcData, MemStatsGenGCTest::MemOpReport &report, size_t &bytes, size_t &rawObjectsSize, [[maybe_unused]] F spaceCheck) MakeAllocationsWithSeveralRepeat() argument
[all...]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
H A Dtest_ets.py144 self.passed, self.report, self.fail_kind = self._run_compiler(self.test_abc)
151 self.passed, self.report, self.fail_kind = self._run_verifier(self.test_abc)
157 self.passed, self.report, self.fail_kind = self.run_aot(
166 self.passed, self.report, self.fail_kind = self.run_runtime(
172 self.passed, self.report, self.fail_kind = self._compare_output_with_expected()
189 if not self.report:
190 return False, TestReport(output="", error="No test report to compare output", return_code=1), fail_kind
191 report = self.report
195 passed = self.expected == self.report
[all...]
H A Dtest_sts_ts_subset.py84 if self.report:
85 panda_report: TestReport = self.report
95 Log.default(_LOGGER, "Panda workflow have not generated any report. So nothing to compare")
117 report = ("Outputs NOT equal\n"
120 self.report = TestReport(
121 output=report,
126 self.report = TestReport(
132 self.log_cmd(f"Output: '{self.report.output}'")
133 self.log_cmd(f"Error: '{self.report.error}'")
134 self.log_cmd(f"Return code: {self.report
[all...]
/arkcompiler/runtime_core/scripts/
H A Dmemusage.py136 """Parses smaps and returns memory usage report"""
189 """Prints memory usage report row"""
194 def print_report(report):
195 """Prints memory usage report"""
199 for record in report:
219 report = Mem().gen_report(smaps, False)
220 reports.append(report)
226 report = Mem().gen_report(smaps, False)
227 reports.append(report)
231 report
[all...]
/arkcompiler/runtime_core/static_core/scripts/
H A Dmemusage.py136 """Parses smaps and returns memory usage report"""
189 """Prints memory usage report row"""
194 def print_report(report):
195 """Prints memory usage report"""
199 for record in report:
219 report = Mem().gen_report(smaps, False)
220 reports.append(report)
226 report = Mem().gen_report(smaps, False)
227 reports.append(report)
231 report
[all...]
/arkcompiler/runtime_core/verifier/tests/
H A Dverify_sys_hap_abc.py70 report = {
77 return report
92 report = verify_file(abc_path, ark_verifier_path)
93 report_list.append(report)
94 if report.get("status") == "pass":
125 report = verify_file(modules_abc_path, ark_verifier_path)
126 report_list.append(report)
127 if report.get("status") == "pass":
160 for report in report_list:
162 f.write(f"<td>{report['fil
[all...]
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
H A Dallure_reporter.rb29 @report['statusDetails'] = {
52 @report = {
72 @report['stop'] = time_now_millisec
73 @report['status'] = @status
74 @logger.log 1, JSON[@report]
160 @report['links'] = bugids.map do |x|
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/
H A Dallure_reporter.rb29 @report['statusDetails'] = {
52 @report = {
72 @report['stop'] = time_now_millisec
73 @report['status'] = @status
74 @logger.log 1, JSON[@report]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
H A Drunner_file_based.py147 report_formats={self.config.report.report_format},
211 Log.all(_LOGGER, "Create html report for coverage")
257 xml_view = XmlView(self.work_dir.report, summary)
265 html_view = HtmlView(self.work_dir.report, self.config, summary)
270 standard_view = StandardView(self.work_dir.report, self.update_excluded, self.excluded_lists, summary)
346 if self.config.report.detailed_report:
350 self.work_dir.report,
351 self.config.report.detailed_report_file)
355 if self.config.report.spec_report:
359 self.work_dir.report,
[all...]
H A Dtest_base.py29 from runner.reports.report import ReportGenerator
57 self.report: Optional[TestReport] = None
69 # Reports if generated. Key is ReportFormat.XXX. Value is a path to the generated report
95 if self.report:
97 Log.default(_LOGGER, f"{self.test_id}: actual output: {self.report.output}")
98 Log.default(_LOGGER, f"{self.test_id}: actual error: {self.report.error}")
99 Log.default(_LOGGER, f"{self.test_id}: actual return code: {self.report.return_code}")
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/
H A Dspectrac.rb43 opts.on('-r', '--report [FILE]', 'Output the test coverage summary report in yaml')
86 File.write(options.report, summary.report.to_yaml) if options.report
91 ReportMd.new(summary.report).generate
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/hermes/
H A Dtest_js_hermes.py42 self.passed, self.report, self.fail_kind = self.run_es2panda(
54 self.passed, self.report, self.fail_kind, test_abc = self.run_ark_quick(
65 self.passed, self.report, self.fail_kind = self.run_aot(
75 self.passed, self.report, self.fail_kind = self.run_runtime(
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/test262/
H A Dtest_js_test262.py53 self.passed, self.report, self.fail_kind = self.run_es2panda(
65 self.passed, self.report, self.fail_kind, test_abc = self.run_ark_quick(
76 self.passed, self.report, self.fail_kind = self.run_aot(
86 self.passed, self.report, self.fail_kind = self.run_runtime(
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/
H A Dspectrac.rb43 opts.on('-r', '--report [FILE]', 'Output the test coverage summary report in yaml')
86 File.write(options.report, summary.report.to_yaml) if options.report
91 ReportMd.new(summary.report).generate
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/parser/
H A Dtest_js_parser.py46 self.passed, self.report, self.fail_kind = self.run_es2panda(
52 if self.update_expected and self.report:
53 self.update_expected_files(self.report.output)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/system/
H A Dtest_ets_system.py43 self.passed, self.report, self.fail_kind = self.run_es2panda(
49 if self.update_expected and self.report:
50 self.update_expected_files(self.report.output)
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Dreport.py85 report: RunReport
116 results1 = {t.name: t for t in r1.report.tests}
117 results2 = {t.name: t for t in r2.report.tests}
170 vmb_rep = VMBReport(report=rr)
183 for t in self.report.tests:
201 self.title = self.report.machine.name
218 for t in sorted(self.report.tests, key=lambda x: x.name):
233 for t in sorted(self.report.tests, key=lambda x: x.name):
245 f.write(self.report.js(indent=indent))
379 if lib in r1.report
[all...]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
H A Dconfig.py69 report = ReportOptions() variable in Config
91 self.report.get_command_line(),
110 "report": self.report.to_dict(),
116 "time-report": self.time_report.to_dict(),

Completed in 9 milliseconds

12