| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/ |
| D | report.py | 29 _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}") 52 report = format_to_report[report_format](test_result) 53 Log.all(_LOGGER, f"{self.__test_id}: Report is saved to {report_path}") 54 write_2_file(report_path, report.make_report()) 84 class Report(ABC): class 93 class HtmlReport(Report): 103 actual_report = self.test.report if self.test.report is not None else TestReport("", "", -1) [all …]
|
| D | html_view.py | 53 report = file_pointer.read() 55 report = report.replace(INDEX_TITLE, f"Summary for {self.__summary.name} {datetime.now()}") 56 report = report.replace(INDEX_OPTIONS, str(self.__config)) 57 report = report.replace(INDEX_TOTAL, str(self.__summary.total)) 58 report = report.replace(INDEX_PASSED, str(self.__summary.passed)) 59 report = report.replace(INDEX_FAILED, str(self.__summary.failed)) 60 report = report.replace(INDEX_IGNORED, str(self.__summary.ignored)) 61 report = report.replace(INDEX_EXCLUDED_LISTS, str(self.__summary.excluded)) 62 report = report.replace(INDEX_EXCLUDED_OTHER, str(self.__summary.excluded_after)) 63 report = report.replace(INDEX_FAILED_TESTS_LIST, self.__get_failed_tests_report(fail_lists)) [all …]
|
| D | detailed_report.py | 48 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 …]
|
| D | spec_report.py | 61 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 …]
|
| D | xml_view.py | 35 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 i… 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.return_code}")
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/ |
| D | options_report.py | 32 "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 …]
|
| D | cli_options.py | 226 help='path to the working temp folder with gen, intermediate and report folders') 255 '--report-format', action='store', dest='report_formats', default=None, 256 type=lambda arg: is_enum_value(arg, ReportFormat, "--report-format"), 257 help='formats of report files. Supported values: log, md and html. ' 261 '--detailed-report', action='store_true', dest='detailed_report', default=None, 262 help='creates additional detailed report with counting tests for each folder. ' 263 'By default the report is $WorkDir/report/<suite name>_detailed-report.md ' 266 '--detailed-report-file', action='store', dest='detailed_report_file', default=None, 267 help='specifies custom file name for the detailed report. ' 268 'By default the report is $WorkDir/report/<suite name>_detailed-report.md ' [all …]
|
| D | config.py | 65 report = ReportOptions() variable in Config 87 self.report.get_command_line(), 106 "report": self.report.to_dict(), 112 "time-report": self.time_report.to_dict(),
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/cfg/ |
| D | all-options-with-default-values.yaml | 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/ |
| D | test_gc_ark_reporter.py | 57 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/ |
| D | readme.md | 146 …ir`/`general.work-dir` - path to the working temp folder with gen, intermediate and report folders. 197 …s: True` - do not use ignored or excluded lists, run all available tests, report all found failures 202 - `--report-format`/`report.report-format` - specifies in what format to generate failure reports… 205 - `--time-report`/`time-report.enable: True` - generates report with grouping tests by execution … 207 ## Detailed report 209 Detailed report shows test statistics for every folder 210 - `--detailed-report`/`report.detailed-report: True` - if it's specified the report is generated 211 - `--detailed-report-file FILE`/`report.detailed-report-file: FILE` - specifies file/path where the… 213 ## ArkTS Specification coverage report 215 ArkTS Specification coverage report shows test statistics for every specification chapter or section [all …]
|
| /arkcompiler/ets_runtime/test/workloadtest/ |
| D | README.md | 17 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/scripts/ |
| D | memusage.py | 136 """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/scripts/ |
| D | memusage.py | 136 """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/ |
| D | 15431.sts | 22 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/static_core/runtime/tests/ |
| D | mem_stats_gen_gc_test.cpp | 229 …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/tests/cts-coverage-tool/ |
| D | CMakeLists.txt | 33 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/ |
| D | CMakeLists.txt | 33 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/tests/cts-generator/runner/reporters/ |
| D | allure_reporter.rb | 29 @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/tests/cts-coverage-tool/bin/ |
| D | spectrac.rb | 43 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/cts-coverage-tool/bin/ |
| D | spectrac.rb | 43 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/ets_frontend/ets2panda/linter/stats_calculator/ |
| D | README.md | 12 node ./build/calculate-stats.js /path/to/report/file.json 15 The file with the report is stored in the project's directory under the following path:
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/hermes/ |
| D | test_js_hermes.py | 42 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/cts-generator/runner/reporters/ |
| D | allure_reporter.rb | 29 @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/vm-benchmarks/src/vmb/ |
| D | report.py | 85 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.ext_info and lib in r2.report.ext_info: [all …]
|