Home
last modified time | relevance | path

Searched refs:Log (Results 1 - 25 of 57) sorted by relevance

123

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
H A Dstandard_view.py24 from runner.logger import Log namespace
51 Log.default(_LOGGER, f"New failures at #{kind} - {len(fail_list)} tests:\n{content}")
52 Log.all(_LOGGER, "")
58 Log.all(_LOGGER, f"Ignored but passed tests - {len(ignored_but_passed)} tests:\n{content}")
61 Log.default(_LOGGER, f"Summary({self.__summary.name}):")
62 Log.default(_LOGGER, f"Total: \t{self.__summary.total:<5}")
63 Log.default(_LOGGER, f"Passed: \t{self.__summary.passed:<5}")
64 Log.default(_LOGGER, f"Failed (new failures): \t{self.__summary.failed:<5}")
68 Log.default(_LOGGER, f" {kind}:" + ' ' * (29 - len(str(kind))) + f"{len(fail_list):<5}")
69 Log
[all...]
H A Dxml_view.py23 from runner.logger import Log namespace
79 Log.all(_LOGGER, f"Save {xml_report_path}")
85 Log.all(_LOGGER, f"Save {ignore_list_path}")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/
H A Dmain.py26 from runner.logger import Log namespace
40 logger = Log.setup(config.general.verbose, config.general.work_dir)
42 Log.summary(logger, f"Loaded configuration: {config}")
50 Log.default(logger, "Attention: tests are going to take only 1 process. The execution can be slow. "
60 Log.exception_and_raise(logger, f"Plugin {plugin} not registered")
66 Log.all(logger, f"Runner {runner.name} started")
68 Log.all(logger, f"Runner {runner.name} finished")
70 Log.all(logger, f"Runner {runner.name}: {failed_tests} failed tests")
75 Log.default(logger, f"Runner has been working for {round((finish-start).total_seconds())} sec")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
H A Dets_templates_generator.py24 from runner.logger import Log namespace
39 Log.exception_and_raise(_LOGGER, f"{str(self.__root_path.absolute())} must be a directory")
53 Log.all(_LOGGER, "Starting generate test")
59 Log.exception_and_raise(_LOGGER, inv_format_exp.message)
61 Log.exception_and_raise(_LOGGER, inv_fs_exp.message)
63 Log.default(_LOGGER, f"\t {repr(unknown_template_exp.exception)}")
64 Log.exception_and_raise(_LOGGER, f"{unknown_template_exp.filepath}: exception while processing template:")
65 Log.all(_LOGGER, "Generation finished!")
H A Dbenchmark.py23 from runner.logger import Log namespace
43 Log.all(_LOGGER, f"Generating test: {self.__name}")
48 Log.all(_LOGGER, f"Starting generate test template: {self.__name}")
61 Log.all(_LOGGER, f"Finish generating test template for: {self.__name}")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
H A Dutils.py32 from runner.logger import Log namespace
40 Log.summary(_LOGGER, f"Downloaded block: {block_num} ({block_size}). Total: {total_size}")
47 Log.summary(_LOGGER, f"Downloading from {url_file} to {archive_file}")
54 Log.exception_and_raise(_LOGGER, f'Downloading {url_file} file failed.')
56 Log.summary(_LOGGER, f"Extracting archive {archive_file} to {target_path}")
64 Log.exception_and_raise(_LOGGER, f'Failed to unzip {archive_file} file')
75 Log.summary(_LOGGER, "Prepare test files")
92 Log.summary(_LOGGER, "Copy and transform test files")
98 Log.summary(_LOGGER, f"Create stamp file {stamp_file}")
114 Log
[all...]
H A Dtest_base.py28 from runner.logger import Log namespace
80 Log.all(_LOGGER, f"Start to execute: {self.test_id}")
91 Log.default(_LOGGER, f"Finished {self.test_id} - {round(self.time, 2)} sec - {self.status().value}")
94 Log.default(_LOGGER, f"{self.test_id}: steps: {self.steps_to_reproduce()}")
96 Log.default(_LOGGER, f"{self.test_id}: expected output: {self.expected}")
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}")
101 Log.default(_LOGGER, f"{self.test_id}: no information about test running neither output nor error")
H A Drunner_base.py39 from runner.logger import Log namespace
126 Log.summary(_LOGGER, f"TEST_ROOT set to {self.test_root}")
133 Log.summary(_LOGGER, f"LIST_ROOT set to {self.list_root}")
209 Log.summary(_LOGGER, f"There are {len(dupes)} duplicates in {kind} lists.")
211 Log.short(_LOGGER, f"\t{test}")
213 Log.summary(_LOGGER, f"No duplicates found in {kind} lists.")
233 Log.all(_LOGGER, "Start test running")
247 Log.summary(_LOGGER, f"Loading tests from the list {list_path}")
274 Log.summary(_LOGGER, f"Loading tests from the directory {directory}")
307 Log
[all...]
H A Dchapters.py24 from runner.logger import Log namespace
60 Log.exception_and_raise(_LOGGER, chapters_file, IncorrectFileFormatChapterException)
63 Log.exception_and_raise(_LOGGER, chapters_file, IncorrectFileFormatChapterException)
66 Log.exception_and_raise(_LOGGER, chapters_file, IncorrectFileFormatChapterException)
70 Log.exception_and_raise(
86 Log.exception_and_raise(
94 Log.exception_and_raise(
164 Log.exception_and_raise(_LOGGER, item, CyclicDependencyChapterException)
H A Dplugins_registry.py23 from runner.logger import Log namespace
79 Log.all(_LOGGER, f"Found extra file '{plugin_path}' at plugins folder")
102 Log.all(_LOGGER, f"Registered plugin '{runner_name}' with class '{runner.__name__}'")
104 Log.exception_and_raise(_LOGGER, f"Plugin '{runner_name}' already registered")
H A Drunner_file_based.py35 from runner.logger import Log namespace
108 Log.exception_and_raise(_LOGGER, f"Cannot find binary file: {path_}", FileNotFoundError)
184 Log.all(_LOGGER, "Generate quick stdlib")
192 Log.all(_LOGGER, f"quick stdlib: {' '.join(cmd)}")
203 Log.exception_and_raise(_LOGGER, f"Cannot quick {src_abc}: timeout")
206 Log.exception_and_raise(_LOGGER, f"Cannot quick {src_abc}: {process.returncode}")
211 Log.all(_LOGGER, "Create html report for coverage")
218 Log.all(_LOGGER, "Processing run statistics")
326 Log.all(_LOGGER, f"Loading {kind} test lists: {test_lists}")
/arkcompiler/ets_runtime/ecmascript/
H A Dlog.cpp66 Level Log::level_ = Level::ERROR;
67 ComponentMark Log::components_ = Component::ALL;
69 Level Log::ConvertFromRuntime(LOG_LEVEL level) in ConvertFromRuntime()
99 std::string Log::LevelToString(Level level) in LevelToString()
124 void Log::SetLogLevelFromString(const std::string& level) in SetLogLevelFromString()
146 void Log::SetLogComponentFromString(const std::vector<std::string>& components) in SetLogComponentFromString()
197 int32_t Log::PrintLogger(int32_t, int32_t level, const char *, const char *, const char *message) in PrintLogger()
225 void Log::Initialize(const JSRuntimeOptions &options) in Initialize()
253 Logger::SetMobileLogPrintEntryPointByPtr(reinterpret_cast<void *>(Log::PrintLogger)); in Initialize()
H A Dlog.h79 class PUBLIC_API Log { class
142 std::string str = Log::GetComponentStr(component); in HiLog()
199 std::string str = Log::GetComponentStr(component); in StdLog()
228 #define ARK_LOG(level, component) panda::ecmascript::Log::LogIsLoggable(level, component) && \
234 #define ARK_LOG(level, component) ((level >= INFO) || panda::ecmascript::Log::LogIsLoggable(level, component)) && \
237 #define ARK_LOG(level, component) panda::ecmascript::Log::LogIsLoggable(level, component) && \
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/astchecker/
H A Dutil_astchecker.py27 from runner.logger import Log namespace
77 Log.exception_and_raise(_LOGGER, f'TestCase: {name}.\nThrows JSON error: {ex}.\nJSON data: {pattern}')
121 Log.exception_and_raise(_LOGGER, 'Wrong definition format: expected '
129 Log.exception_and_raise(_LOGGER, f'Link {name} (at location {line}:{col}) is already defined')
152 Log.exception_and_raise(_LOGGER, f'Bad `<id>` value, expected value from `[a-zA-Z0-9_]+`, got {name}')
156 Log.exception_and_raise(_LOGGER, f'Link {name} (at location {line}:{col}) is already defined')
182 Log.exception_and_raise(_LOGGER, 'Wrong match_at_location format: expected '
188 Log.exception_and_raise(_LOGGER, 'Wrong match_at_location format: expected '
196 Log.exception_and_raise(_LOGGER, f'Expected line number, got {line_str}')
198 Log
[all...]
H A Drunner_astchecker.py23 from runner.logger import Log namespace
48 Log.summary(_LOGGER, f'LIST_ROOT set to {self.list_root}')
51 Log.summary(_LOGGER, f'TEST_ROOT set to {self.test_root}')
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
H A Dpreparation_step.py32 from runner.logger import Log namespace
104 Log.exception_and_raise(_LOGGER, f"Generation failed by timeout after {timeout} sec")
106 Log.exception_and_raise(_LOGGER, f"Generation failed by unknown reason: {ex}")
124 Log.all(_LOGGER, f"ERROR: {str(template_root_path.absolute())} must be a directory")
170 Log.default(_LOGGER,
173 Log.exception_and_raise(_LOGGER, f"invalid return code {res.returncode}\n" + res.stdout + res.stderr)
273 Log.all(_LOGGER, f'Error: {inv_format_exp.message}')
276 Log.all(_LOGGER, f'Error: {inv_fs_exp.message}')
279 Log.all(_LOGGER, f"{unknown_template_exp.filepath}: exception while processing template:")
280 Log
[all...]
H A Drunner_ets.py25 from runner.logger import Log namespace
77 Log.summary(_LOGGER, f"TEST_ROOT set to {self.test_root}")
78 Log.summary(_LOGGER, f"LIST_ROOT set to {self.list_root}")
115 Log.exception_and_raise(_LOGGER, f"Unsupported test suite: {self.config.test_suites}")
123 Log.exception_and_raise(
131 Log.exception_and_raise(
137 # We use Log.exception_and_raise which throws exception. no need in return
145 Log.exception_and_raise(
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/hermes/
H A Dutil_hermes.py26 from runner.logger import Log namespace
51 Log.exception_and_raise(_LOGGER, f"No {HERMES_URL} environment variable set", EnvironmentError)
53 Log.exception_and_raise(_LOGGER, f"No {HERMES_REVISION} environment variable set", EnvironmentError)
77 Log.all(_LOGGER, "Generating tests")
110 Log.exception_and_raise(_LOGGER, f"Unexpected error on checking {test_file}")
H A Drunner_js_hermes.py23 from runner.logger import Log namespace
39 Log.all(_LOGGER, f"LIST_ROOT set to {self.list_root}")
47 Log.summary(_LOGGER, f"TEST_ROOT reset to {self.test_root}")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/declgenparser/
H A Drunner_declgenparser.py25 from runner.logger import Log namespace
51 Log.summary(_LOGGER, f"LIST_ROOT set to {self.list_root}")
53 Log.summary(_LOGGER, f"TEST_ROOT set to {self.test_root}")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
H A Dcli_args_wrapper.py22 from runner.logger import Log namespace
34 # We use Log.exception_and_raise which throws exception. no need in return
46 Log.exception_and_raise(_LOGGER, f"Cannot recognize CLI option {name} ")
H A Ddecorator_value.py25 from runner.logger import Log namespace
54 Log.exception_and_raise(
78 Log.exception_and_raise(
84 Log.exception_and_raise(_LOGGER, f"Cannot process CLI names {cli_name}")
163 Log.exception_and_raise(_LOGGER, f"Incorrect value for option --jit-preheat-repeats '{cli_value}'")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/parser/
H A Drunner_js_parser.py23 from runner.logger import Log namespace
50 Log.summary(_LOGGER, f"LIST_ROOT set to {self.list_root}")
53 Log.summary(_LOGGER, f"TEST_ROOT set to {self.test_root}")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/system/
H A Drunner_ets_system.py24 from runner.logger import Log namespace
66 Log.summary(_LOGGER, f"LIST_ROOT set to {self.list_root}")
69 Log.summary(_LOGGER, f"TEST_ROOT set to {self.test_root}")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/test262/
H A Drunner_js_test262.py23 from runner.logger import Log namespace
40 Log.summary(_LOGGER, f"LIST_ROOT set to {self.list_root}")
50 Log.summary(_LOGGER, f"TEST_ROOT reset to {self.test_root}")

Completed in 9 milliseconds

123