Home
last modified time | relevance | path

Searched full:report (Results 1 – 25 of 223) sorted by relevance

123456789

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
Dreport.py29 _LOGGER = logging.getLogger("runner.reports.report")
42 format_to_report: Mapping[ReportFormat, Type[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}")
53 report = format_to_report[report_format](test_result)
54 Log.all(_LOGGER, f"{self.__test_id}: Report is saved to {report_path}")
55 write_2_file(report_path, report.make_report())
85 class Report(ABC): class
94 class HtmlReport(Report):
104 actual_report = self.test.report if self.test.report is not None else TestReport("", "", -1)
[all …]
Dhtml_view.py54 report = file_pointer.read()
56report = 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 = report.replace(INDEX_FAILED, str(self.__summary.failed))
61 report = report.replace(INDEX_IGNORED, str(self.__summary.ignored))
62 report = report.replace(INDEX_EXCLUDED_LISTS, str(self.__summary.excluded))
63 report = report.replace(INDEX_EXCLUDED_OTHER, str(self.__summary.excluded_after))
64 report = report.replace(INDEX_FAILED_TESTS_LIST, self.__get_failed_tests_report(fail_lists))
[all …]
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.replace(self.REPORT_EXCLUDED_DIVIDER, "")
82 report = report.replace(self.REPORT_EXCLUDED_HEADER, self.EXCLUDED_HEADER)
83 report = report.replace(self.REPORT_EXCLUDED_DIVIDER, self.EXCLUDED_DIVIDER)
88 report = report.replace(self.REPORT_RESULT, result)
89 Log.default(_LOGGER, f"Detailed report is saved to '{self.report_file}'")
[all …]
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 = report.replace(self.REPORT_SPEC_CREATION_DATE, self.spec_creation_date)
128 report = report.replace(self.REPORT_EXCLUDED_HEADER, "")
129 report = report.replace(self.REPORT_EXCLUDED_DIVIDER, "")
131 report = report.replace(self.REPORT_EXCLUDED_HEADER, self.EXCLUDED_HEADER)
[all …]
Dxml_view.py35 self.__report_xml = 'report.xml' # filename of xml report in junit format
48 …if not isinstance(test_result, TestFileBased) or not test_result.report or test_result.fail_kind i…
53 if test_result.report.output:
54 status += str(re.sub(r'\[.*]', '', test_result.report.output.splitlines()[0]))
55 elif test_result.report.error:
56 status += str(re.sub(r'\[.*]', '', test_result.report.error.splitlines()[0]))
62 result.append(f"OUT: {test_result.report.output}")
63 result.append(f"ERR: {test_result.report.error}")
64 result.append(f"return_code = {test_result.report.return_code}")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/reports/
Dreport.py48 format_to_report: Mapping[ReportFormat, type[Report]] = {
55 report_root = path.join(self.__test_env.work_dir.report, report_tail)
60 … f"{test_result.test_id}.report{repeat_str}-{self.__test_env.timestamp}.{report_format.value}")
62 raise InvalidConfiguration(f"Incorrect report format {report_format}")
63 report = formatter(test_result)
64 _LOGGER.all(f"{self.__test_id}: Report is saved to {report_path}")
65 write_2_file(report_path, report.make_report())
95 class Report(ABC): class
104 class HtmlReport(Report):
114 actual_report = self.test.report if self.test.report is not None else TestReport("", "", -1)
[all …]
Dhtml_view.py51 report = file_pointer.read()
53report = report.replace(INDEX_TITLE, f"Summary for {self.__summary.name} {datetime.now(pytz.UTC)}")
54 report = report.replace(INDEX_OPTIONS, str(self.__config))
55 report = report.replace(INDEX_TOTAL, str(self.__summary.total))
56 report = report.replace(INDEX_PASSED, str(self.__summary.passed))
57 report = report.replace(INDEX_FAILED, str(self.__summary.failed))
58 report = report.replace(INDEX_IGNORED, str(self.__summary.ignored))
59 report = report.replace(INDEX_EXCLUDED_LISTS, str(self.__summary.excluded))
60 report = report.replace(INDEX_EXCLUDED_OTHER, str(self.__summary.excluded_after))
61 report = report.replace(INDEX_FAILED_TESTS_LIST, self.__get_failed_tests_report(fail_lists))
[all …]
Ddetailed_report.py46 self.report_file = path.join(report_path, f"{test_suite}_detailed-report.md")
73 report = file_pointer.read()
74 report = report.replace(self.REPORT_DATE, str(date.today()))
75 report = report.replace(self.REPORT_TEST_SUITE, self.test_suite)
77 report = report.replace(self.REPORT_EXCLUDED_HEADER, "")
78 report = report.replace(self.REPORT_EXCLUDED_DIVIDER, "")
80 report = report.replace(self.REPORT_EXCLUDED_HEADER, self.EXCLUDED_HEADER)
81 report = report.replace(self.REPORT_EXCLUDED_DIVIDER, self.EXCLUDED_DIVIDER)
86 report = report.replace(self.REPORT_RESULT, result)
87 _LOGGER.default(f"Detailed report is saved to '{self.report_file}'")
[all …]
Dxml_view.py33 self.__report_xml = 'report.xml' # filename of xml report in junit format
46 …if not isinstance(test_result, TestStandardFlow) or not test_result.report or test_result.fail_kin…
51 if test_result.report.output:
52 status += str(re.sub(r'\[.*]', '', test_result.report.output.splitlines()[0]))
53 elif test_result.report.error:
54 status += str(re.sub(r'\[.*]', '', test_result.report.error.splitlines()[0]))
60 result.append(f"OUT: {test_result.report.output}")
61 result.append(f"ERR: {test_result.report.error}")
62 result.append(f"return_code = {test_result.report.return_code}")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Doptions_report.py32 "report-format": self.report_format.value.upper(),
33 "detailed-report": self.detailed_report,
34 "detailed-report-file": self.detailed_report_file,
35 "spec-report": self.spec_report,
36 "spec-report-file": self.spec_report_file,
37 "spec-report-yaml": self.spec_report_yaml,
43 yaml_path="report.report-format",
52 yaml_path="report.detailed-report",
61 yaml_path="report.detailed-report-file",
70 yaml_path="report.spec-report",
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/cfg/
Dall-options-with-default-values.yaml42 coverage-html-report-dir: null
52 report-root: null
59 report:
60 report-format: LOG
61 detailed-report: False
62 detailed-report-file: None
63 spec-report: False
64 spec-report-file: None
65 spec-report-yaml: None
82 time-report:
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
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 = ArkGcLogReporter().generate_report(events, adjust_time=adjust_time)
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/
Dreadme.md149 …ir`/`general.work-dir` - path to the working temp folder with gen, intermediate and report folders.
201 …s: True` - do not use ignored or excluded lists, run all available tests, report all found failures
206 - `--report-format`/`report.report-format` - specifies in what format to generate failure reports…
209 - `--time-report`/`time-report.enable: True` - generates report with grouping tests by execution …
211 ## Detailed report
213 Detailed report shows test statistics for every folder
214 - `--detailed-report`/`report.detailed-report: True` - if it's specified the report is generated
215 - `--detailed-report-file FILE`/`report.detailed-report-file: FILE` - specifies file/path where the…
217 ## ArkTS Specification coverage report
219 ArkTS Specification coverage report shows test statistics for every specification chapter or section
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/test/config_test/
Dtest_suite_config_test1.py63 "--processes", "12", "--detailed-report", "--detailed-report-file", "my-report",
64 "--report-dir", "my-report-dir",
65 … "--verbose-filter", "ignored", "--enable-time-report", "--use-llvm-cov", "--qemu", "arm64",
66 "--report-dir", "my-report-dir",
67 "--profdata-files-dir", ".", "--coverage-html-report-dir", ".",
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
Dtest_ets.py179 self.report = dependent_result.report
193 self.passed, self.report, self.fail_kind = self._run_compiler(self.test_abc)
198 self.passed, self.report, self.fail_kind = self._run_compiler(self.test_abc)
205 self.passed, self.report, self.fail_kind = self._run_verifier(self.test_abc)
211 self.passed, self.report, self.fail_kind = self.run_aot(
220 self.passed, self.report, self.fail_kind = self.run_runtime(
226 self.passed, self.report, self.fail_kind = self._compare_output_with_expected()
242 if not self.report:
243 …return False, TestReport(output="", error="No test report to compare output", return_code=1), fail…
244 report = self.report
[all …]
Dtest_ets_ts_subset.py85 if self.report:
86 panda_report: TestReport = self.report
96 … Log.default(_LOGGER, "Panda workflow have not generated any report. So nothing to compare")
118 report = ("Outputs NOT equal\n"
121 self.report = TestReport(
122 output=report,
127 self.report = TestReport(
133 self.log_cmd(f"Output: '{self.report.output}'")
134 self.log_cmd(f"Error: '{self.report.error}'")
135 self.log_cmd(f"Return code: {self.report.return_code}")
/arkcompiler/runtime_core/verifier/tests/
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":
147 f.write("<html><head><title>Verification Report</title>")
156 f.write("<h1>Verification Report</h1>\n")
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/scripts/testRunner/
Dcoverage_report.js19 const libReport = require('istanbul-lib-report');
29 // create summary report
38 // Watermarks for the report
46 dir: path.join(coverageDir, 'report-html'),
52 const report = reports.create('html', {}); constant
53 report.execute(context);
/arkcompiler/ets_frontend/ets2panda/linter/test/sdkwhite/
Dlimit_void_type_sdk2.ets28 prefetch(index: number): void | Promise<void> { //report error
32 cancel(index: number): void | Promise<void> { //report error
54 return new MyDataSource().prefetch(666); //report error
57 return ds.prefetch(666); //report error
60 export const res = new MyDataSource().cancel(222); //report error
61 export const res2 = ds.cancel(222); //report error
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/srcdumper/
Dtest_srcdumper.py75 self.passed, self.report, self.fail_kind = AstComparator(original_ast, dumped_ast).run()
79 self.report = TestReport(f"{loading_json}", traceback.format_exc(), -1)
89 self.passed, self.report, self.fail_kind = self.run_es2panda(
102 file.writelines(self.report.output.splitlines(keepends=True)[1:])
111 self.passed, self.report, self.fail_kind = self.run_es2panda(
118 self.original_ast = self.report.output[self.report.output.find("\n") + 1:]
129 self.passed, self.report, self.fail_kind = self.run_es2panda(
140 self.dumped_ast = self.report.output[self.report.output.find("\n") + 1:]
/arkcompiler/ets_frontend/ets2panda/ast_verifier/invariants/
DgetterSetterValidation.cpp61 auto const report = [this, &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()
84 report("MISSING RETURN STATEMENT IN GETTER METHOD"); in ValidateGetter()
91 report("MISSING RETURN TYPE ANNOTATION AND RETURN STATEMENT IN GETTER METHOD"); in ValidateGetter()
99 report("GETTER METHOD HAS VOID RETURN TYPE"); in ValidateGetter()
106 report("GETTER METHOD HAS INCORRECT NUMBER OF ARGUMENTS"); in ValidateGetter()
119 auto const report = [this, &result, method](const std::string &msg) { in ValidateSetter() local
128 report("SETTER METHOD DOES NOT HAVE SETTER FLAG"); in ValidateSetter()
133 report("SETTER METHOD MUST NOT HAVE RETURN TYPE"); in ValidateSetter()
[all …]
/arkcompiler/ets_runtime/test/workloadtest/
DREADME.md17 1) 调用入口:python3 ark.py x64.release workload report
19 * report:生成看护报告
20 2) python3 arkcompiler/ets_runtime/test/workloadtest/work_load.py --report True --code-path='/work…
21 * report: 生成看护报告
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/
DREADME.md78 …ral.work-dir` - path to the working temp folder with gen, intermediate and report folders. As well
134 …s: True` - do not use ignored or excluded lists, run all available tests, report all found failures
139 - `--report-format`/`general.report-format` - specifies in what format to generate failure report…
142 - `--time-report`/`time-report.enable: True` - generates report with grouping tests by execution …
144 ## Detailed report
146 Detailed report shows test statistics for every folder
147 - `--detailed-report`/`general.detailed-report: True` - if it's specified the report is generated
148 - `general.detailed-report-file: FILE` - specifies file/path where the report should be saved to
173 ## Execution time report
175 It is possible to collect statistics how long separate tests work. In the result report tests are g…
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/options/
Doptions_general.py41 __DEFAULT_DETAILED_REPORT_FILE = "detailed-report-file"
47 __DEFAULT_REPORT_DIR = "report"
54 __DETAILED_REPORT = "detailed-report"
55 __DETAILED_REPORT_FILE = "detailed-report-file"
58 __REPORT_DIR = "report-dir"
83 help='Create additional detailed report with counting tests for each folder.')
87 help='Name of additional detailed report. By default, the report is created at '
88 '$WorkDir/<suite-name>/report/<suite-name>_detailed-report-file.md , '
93 help='Name of report folder under $WorkDir. By default, the name is "report".'
94 'The location is "$WorkDir/<suite-name>/<report-dir>", '
/arkcompiler/runtime_core/scripts/
Dmemusage.py136 """Parses smaps and returns memory usage report"""
189 """Prints memory usage report row"""
194 def print_report(report): argument
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 = aggregate(reports)
[all …]

123456789