Home
last modified time | relevance | path

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

1234567

/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/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 …]
Dcli_options.py259 help='path to the working temp folder with gen, intermediate and report folders')
288 '--report-format', action='store', dest='report_formats', default=None,
289 type=lambda arg: is_enum_value(arg, ReportFormat, "--report-format"),
290 help='formats of report files. Supported values: log, md and html. '
294 '--detailed-report', action='store_true', dest='detailed_report', default=None,
295 help='creates additional detailed report with counting tests for each folder. '
296 'By default the report is $WorkDir/report/<suite name>_detailed-report.md '
299 '--detailed-report-file', action='store', dest='detailed_report_file', default=None,
300 help='specifies custom file name for the detailed report. '
301 'By default the report is $WorkDir/report/<suite name>_detailed-report.md '
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/cfg/
Dall-options-with-default-values.yaml52 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.md146 …ir`/`general.work-dir` - path to the working temp folder with gen, intermediate and report folders.
198 …s: True` - do not use ignored or excluded lists, run all available tests, report all found failures
203 - `--report-format`/`report.report-format` - specifies in what format to generate failure reports…
206 - `--time-report`/`time-report.enable: True` - generates report with grouping tests by execution …
208 ## Detailed report
210 Detailed report shows test statistics for every folder
211 - `--detailed-report`/`report.detailed-report: True` - if it's specified the report is generated
212 - `--detailed-report-file FILE`/`report.detailed-report-file: FILE` - specifies file/path where the…
214 ## ArkTS Specification coverage report
216 ArkTS Specification coverage report shows test statistics for every specification chapter or section
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
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()
188 if not self.report:
189 …return False, TestReport(output="", error="No test report to compare output", return_code=1), fail…
190 report = self.report
194 … passed = self.expected == self.report.output + '\n' and self.report.return_code in [0, 1]
196 … passed = self.expected in self.report.output + '\n' and self.report.return_code in [0, 1]
[all …]
Dtest_sts_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/ast_verifier/
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()
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 = [&ctx, &result, method](const std::string &msg) { in ValidateSetter() local
128 report("SETTER METHOD DOES NOT HAVE SETTER FLAG"); in ValidateSetter()
135 report("SETTER METHOD HAS NON-VOID RETURN TYPE"); in ValidateSetter()
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/srcdumper/
Dtest_srcdumper.py82 self.passed, self.report, self.fail_kind = AstComparator(original_ast, dumped_ast).run()
86 self.report = TestReport(f"{loading_json}", traceback.format_exc(), -1)
96 self.passed, self.report, self.fail_kind = self.run_es2panda(
109 file.writelines(self.report.output.splitlines(keepends=True)[1:])
118 self.passed, self.report, self.fail_kind = self.run_es2panda(
125 self.original_ast = self.report.output[self.report.output.find("\n") + 1:]
136 self.passed, self.report, self.fail_kind = self.run_es2panda(
147 self.dumped_ast = self.report.output[self.report.output.find("\n") + 1:]
/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/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 …]
/arkcompiler/runtime_core/static_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 …]
/arkcompiler/ets_frontend/ets2panda/linter/test/regression/
D15431.sts22 static { // should report error `arkts-no-multiple-static-blocks`
30 this.a; // should report error arkts-no-standalone-this
42 static { // should report error
56 static { // shouldn't report error
/arkcompiler/runtime_core/tests/cts-coverage-tool/
DCMakeLists.txt33 set(REPORT "${PROJECT_BINARY_DIR}/report.yaml") variable
34 …{UNCOVERED} ${UNCOVERED_MD} ${ORPHANED} ${ORPHANED_MD} ${FULL} ${FULL_MD} ${REPORT} ALWAYS_REBUILD)
41 …ned ${ORPHANED} --orphaned_md ${ORPHANED_MD} --full ${FULL} --full_md ${FULL_MD} --report ${REPORT}
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/
DCMakeLists.txt33 set(REPORT "${PROJECT_BINARY_DIR}/report.yaml") variable
34 …{UNCOVERED} ${UNCOVERED_MD} ${ORPHANED} ${ORPHANED_MD} ${FULL} ${FULL_MD} ${REPORT} ALWAYS_REBUILD)
41 …ned ${ORPHANED} --orphaned_md ${ORPHANED_MD} --full ${FULL} --full_md ${FULL_MD} --report ${REPORT}
/arkcompiler/runtime_core/static_core/runtime/tests/
Dmem_stats_gen_gc_test.cpp229 …ocationsWithSingleRepeat(MemStatsGenGCTest::GcData &gcData, MemStatsGenGCTest::MemOpReport &report,
233 …cationsWithSeveralRepeat(MemStatsGenGCTest::GcData &gcData, MemStatsGenGCTest::MemOpReport &report,
297 … MemStatsGenGCTest::MemOpReport &report, size_t &bytes, in MakeAllocationsWithSingleRepeat() argument
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_t &bytes, in MakeAllocationsWithSeveralRepeat() argument
318 report.allocatedCount += gcData.count * 3U; in MakeAllocationsWithSeveralRepeat()
319 report.allocatedBytes += bytes; in MakeAllocationsWithSeveralRepeat()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/
Dtox.ini23 pytest --junitxml=report.xml --cov={[base]project_module_dir} --cov-report=term-missing ./tests
42 coverage report --rcfile=tox.ini -i
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
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-coverage-tool/bin/
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

1234567