/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/ |
H A D | test_reporter.rb | 29 @logger.log 2 30 @logger.log 2, '----------------------------------------' 31 @logger.log 2 32 @logger.log 2, "Test file: #{@pa_file}" 46 @logger.log 2, "Skip excluded test #{@pa_file} by tag" 50 @logger.log 2, "Skip not included test #{@pa_file} by tag" 54 @logger.log 2, "Skip test #{@pa_file} since bug id do not match" 58 @logger.log 2, "Skip test #{@pa_file}, because 'runner_option: ignore' tag is defined" 62 @logger.log 2, "Skip test #{@pa_file}, because run only test with 'runner_option: ignore' tag" 66 @logger.log [all...] |
H A D | jtr_reporter.rb | 43 @logger.log 1, '#Test Results (version 2)' 44 @logger.log 1, '#-----testdescription-----' 45 @logger.log 1, "$file=#{@root}/CTS/conformance/tests/#{@pa_file}" 46 @logger.log 1, "$root=#{@root}" 47 @logger.log 1, '' 48 @logger.log 1, '#-----testresult-----' 49 @logger.log 1, "test=CTS/conformance/tests/#{@pa_file}" 50 @logger.log 1, 'suitename=CTS' 51 @logger.log 1, "start=#{jtr_time}" 55 @logger.log [all...] |
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/ |
H A D | test_reporter.rb | 29 @logger.log 2 30 @logger.log 2, '----------------------------------------' 31 @logger.log 2 32 @logger.log 2, "Test file: #{@pa_file}" 46 @logger.log 2, "Skip excluded test #{@pa_file} by tag" 50 @logger.log 2, "Skip not included test #{@pa_file} by tag" 54 @logger.log 2, "Skip test #{@pa_file} since bug id do not match" 58 @logger.log 2, "Skip test #{@pa_file}, because 'runner_option: ignore' tag is defined" 62 @logger.log 2, "Skip test #{@pa_file}, because run only test with 'runner_option: ignore' tag" 66 @logger.log [all...] |
H A D | jtr_reporter.rb | 43 @logger.log 1, '#Test Results (version 2)' 44 @logger.log 1, '#-----testdescription-----' 45 @logger.log 1, "$file=#{@root}/CTS/conformance/tests/#{@pa_file}" 46 @logger.log 1, "$root=#{@root}" 47 @logger.log 1, '' 48 @logger.log 1, '#-----testresult-----' 49 @logger.log 1, "test=CTS/conformance/tests/#{@pa_file}" 50 @logger.log 1, 'suitename=CTS' 51 @logger.log 1, "start=#{jtr_time}" 55 @logger.log [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/ |
H A D | test_steps.py | 65 console.log(a / b) 72 def check_exit_status(process: RuntimeProcess, log: RichLogger): 76 log.warning(msg) 84 log: RichLogger, 86 script_file.log(log, logging.INFO) 89 check_exit_status(process, log) 96 log: RichLogger, 99 script_file.log(log, loggin [all...] |
H A D | test_breaks_props.py | 77 console.log(a / b) 86 log: RichLogger, 100 script_file.log(log, highlight_lines=[b.line_number for b in breakpoints]) 101 log.info("Parsed breakpoints %s", breakpoints) 108 log.info(f"{paused}") 109 log.info( 142 console.log("array"); // #BP{0} 149 log: RichLogger, 162 script_file.log(lo [all...] |
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/ |
H A D | result.rb | 122 TestRunner.log 3, @@stats.to_yaml 123 TestRunner.log 2, 'Passed:' 124 TestRunner.log 2, @@stats[:passed][:files].sort.to_yaml.to_s 125 TestRunner.log 1, 'Failed:' 126 TestRunner.log 1, @@stats[:failed][:files].sort.to_yaml.to_s 127 TestRunner.log 1, 'Failed (coredump):' 128 TestRunner.log 1, @@stats[:core][:files].sort.to_yaml.to_s 129 TestRunner.log 1, 'Compilation error:' 130 TestRunner.log 1, @@stats[:compilation_error][:files].sort.to_yaml.to_s 131 TestRunner.log [all...] |
/arkcompiler/ets_runtime/test/moduletest/arrayfind/ |
H A D | arrayfind.js | 19 console.log(found); 27 console.log(Array.prototype.find.call(arrayLike, (x) => !Number.isInteger(x))); 32 console.log(`${index},${value}`); 37 console.log(`array[5]${array[5]}`); 40 console.log(`${index},${value}`); 53 console.log([4, 6, 8, 12].find(isPrime)); 54 console.log([4, 5, 8, 12].find(isPrime)); 64 console.log(firstTrough); // 1 72 console.log(deleteWords); 73 console.log(word [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/promise/ |
H A D | return_promise_to_js_test.js | 31 console.log("Running test '" + test + "'"); 34 console.log('Cannot create ETS runtime'); 39 console.log('Result is not an object'); 43 console.log("Expect result type 'Promise' but get '" + res.constructor.name + "'"); 51 console.log('Wrong value: ' + value + ' (' + typeof value + ') !== ' + expectedValue + ' (' + typeof expectedValue + ')'); 56 console.log('Checking #' + iteration); 61 console.log('Promise is not resolved or value is wrong'); 65 console.log('Test passed'); 73 console.log('Expected <test name> <expected value> <number of iterations>');
|
H A D | return_pending_promise_to_js_test.js | 29 console.log('Result is not an object'); 33 console.log("Expect result type 'Promise' but get '" + res.constructor.name + "'"); 57 console.log('Promise must not be resolved'); 61 console.log("Call of 'resolvePendingPromise' return false"); 74 console.log('Promise is not resolved or value is wrong'); 100 console.log('No such test'); 107 console.log('Expected test name');
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/connection/asio/ |
H A D | ws_logger.cpp | 55 if (channelType_ == websocketpp::log::channel_type_hint::access) { in write() 56 ms << websocketpp::log::alevel::channel_name(channel) << ": "; in write() 64 if (channelType_ != websocketpp::log::channel_type_hint::error) { in channel_log_level() 69 case websocketpp::log::elevel::devel: in channel_log_level() 72 case websocketpp::log::elevel::library: in channel_log_level() 73 case websocketpp::log::elevel::info: in channel_log_level() 76 case websocketpp::log::elevel::warn: in channel_log_level() 79 case websocketpp::log::elevel::rerror: in channel_log_level() 82 case websocketpp::log::elevel::fatal: in channel_log_level()
|
/arkcompiler/runtime_core/tests/cts-generator/runner/ |
H A D | result.rb | 122 TestRunner::log 3, @@stats.to_yaml 123 TestRunner::log 2, "Passed: #{@@stats[:passed][:files].sort.to_yaml}" 124 TestRunner::log 1, 'Failed:' 125 TestRunner::log 1, "#{@@stats[:failed][:files].sort.to_yaml}" 126 TestRunner::log 1, 'Failed (coredump):' 127 TestRunner::log 1, "#{@@stats[:core][:files].sort.to_yaml}" 128 TestRunner::log 1, 'Compilation error:' 129 TestRunner::log 1, "#{@@stats[:compilation_error][:files].sort.to_yaml}" 130 TestRunner::log 2, '----------------------------------------' 131 TestRunner::log [all...] |
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | run.py | 30 log = logging.getLogger('vmb') variable 36 log.info('Using platform: %s', self.platform.name) 57 log.error('%s: compilation failed', bu.name) 66 log.error(e) 71 log.info("Starting RUN phase...") 77 log.info('Excluding bench unit: %s', bu.name) 80 log.info('Starting bench unit: %s', bu.name) 87 log.passed('%s: %f', bu.name, bu.result.get_avg_time()) 90 log.error('%s: compilation failed', bu.name) 94 log [all...] |
H A D | hook.py | 28 log = logging.getLogger('vmb') variable 81 log.debug('Register hook: %s', hook.name) 87 log.debug('Run before-unit hook: %s', hook.name) 92 log.debug('Run after-unit hook: %s', hook.name) 98 log.debug('Run before-suite hook: %s', hook.name) 101 log.error(e) 107 log.debug('Run after-suite hook: %s', hook.name) 110 log.error(e)
|
H A D | generate.py | 36 log = logging.getLogger('vmb') variable 63 log.trace('Src: %s', str(p)) 86 log.debug('Searching sources: **/*%r', ext) 93 log.debug('Processing list file: %s', root) 103 log.warning('Src: %s not found!', root) 114 log.warning('Bad import: %s', import_doclet) 118 log.warning('Lib does not exist: %s', libpath) 138 log.trace('Common dir: %s', common) 140 log.trace('Common file: %s', p) 153 log [all...] |
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | explicit_gc_test.cpp | 95 std::string log; in TEST_F() local 107 log = testing::internal::GetCapturedStderr(); in TEST_F() 108 ASSERT_NE(log.find(expectedLog), std::string::npos) << "Expected:\n" << expectedLog << "\nLog:\n" << log; in TEST_F() local 123 log = testing::internal::GetCapturedStderr(); in TEST_F() 124 ASSERT_NE(log.find(expectedLog), std::string::npos) << "Expected:\n" << expectedLog << "\nLog:\n" << log; in TEST_F() local 133 log = testing::internal::GetCapturedStderr(); in TEST_F() 134 ASSERT_NE(log.find(expectedLog), std::string::npos) << "Expected:\n" << expectedLog << "\nLog:\n" << log; in TEST_F() local 150 std::string log; TEST_F() local 162 ASSERT_NE(log.find(expectedLog), std::string::npos) << "Expected:\\n" << expectedLog << "\\nLog:\\n" << log; TEST_F() local 178 std::string log; TEST_F() local 190 ASSERT_NE(log.find(expectedLog), std::string::npos) << "Expected:\\n" << expectedLog << "\\nLog:\\n" << log; TEST_F() local 206 std::string log; TEST_F() local 218 ASSERT_NE(log.find(expectedLog), std::string::npos) << "Expected:\\n" << expectedLog << "\\nLog:\\n" << log; TEST_F() local [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat_demo/out/ |
H A D | demo.js | 24 console.log('test: ' + (0, foo1.FooFunction)(arr)); 26 console.log('test: check instanceof Array: ' + (arr2 instanceof Array)); 27 console.log('test: ' + arr2.at(0).name); 28 console.log('test: ' + arr2.at(1).name); 29 console.log('test: ' + arr2.at(2).name);
|
/arkcompiler/ets_frontend/arkguard/scripts/ |
H A D | execute_result_statistics.js | 109 console.log(color + part.value + '\x1b[0m'); 135 console.log('--- Grammar Test Results ---'); 136 console.log(`Success count: ${successCount}`); 137 console.log(`Failure count: ${failureCount}`); 139 console.log('Execution failed files:'); 141 console.log(failedFile); 145 console.log(`Content comparison Success count: ${contentcomparationSuccessCount}`); 146 console.log(`Content comparison Failure count: ${contentcomparationFailureCount}`); 148 console.log('Content comparision failed files:'); 150 console.log(failedFil [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/ |
H A D | gtest_launcher.js | 44 console.log('===== LOG_PROTO_CHAIN of ' + o + ' ====='); 46 console.log(p.constructor + '\n[' + Object.getOwnPropertyNames(p) + ']'); 48 console.log('=========='); 62 'log-level': 'info', 63 'log-components': 'ets_interop_js', 91 console.log(`Run ets_interop_js_gtest module: ${gtestName}`); 97 console.log(`${gtestName}: uncaught exception: ${e}`); 98 console.log('exception.toString():\n', e.toString());
|
/arkcompiler/runtime_core/static_core/tests/cts-generator/ |
H A D | test-runner.rb | 75 opts.on('--verbose-verifier', 'Allow verifier to produce extended checking log') 85 opts.on('--reporter TYPE', "Reporter for test results (default 'log', available: 'log', 'jtr', 'allure')") 116 check_option_enum(optparser, options, 'reporter', ['log', 'jtr', 'allure']) 128 options['reporter'] = 'log' unless options['reporter'] 159 TestRunner.log 2, "Path to panda: #{$path_to_panda}" 160 TestRunner.log 2, "Path to verifier debug config: #{$verifier_config}" 180 TestRunner::log 2, "Path to tests: #{path_to_tests}" 182 TestRunner::log 2, "pandasm: #{$pandasm}" 183 TestRunner::log [all...] |
/arkcompiler/runtime_core/tests/cts-generator/ |
H A D | test-runner.rb | 75 opts.on('--verbose-verifier', 'Allow verifier to produce extended checking log') 85 opts.on('--reporter TYPE', "Reporter for test results (default 'log', available: 'log', 'jtr', 'allure')") 116 check_option_enum(optparser, options, 'reporter', ['log', 'jtr', 'allure']) 128 options['reporter'] = 'log' unless options['reporter'] 159 TestRunner.log 2, "Path to panda: #{$path_to_panda}" 160 TestRunner.log 2, "Path to verifier debug config: #{$verifier_config}" 180 TestRunner::log 2, "Path to tests: #{path_to_tests}" 182 TestRunner::log 2, "pandasm: #{$pandasm}" 183 TestRunner::log [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | stub_compiler.cpp | 29 #include "ecmascript/log.h" 36 StubPassData(Stub *stub, LLVMModule *module, CompilerLog *log) in StubPassData() argument 37 : PassData(nullptr, nullptr, nullptr, log, "stubs"), in StubPassData() 103 CompilerLog *log = GetLog(); in RunPipeline() local 108 log->SetStubLog(stub.GetMethodName(), GetLogList()); in RunPipeline() 110 StubPassData data(&stub, module, log); in RunPipeline() 135 CompilerLog *log = GetLog(); in BuildStubModuleAndSave() local 139 StubFileGenerator generator(log, logList, triple_, concurrentCompile_); in BuildStubModuleAndSave() 143 Module* stubM = generator.AddModule(&allocator, "bc_stub", triple_, stubOp, log->OutputASM(), StubFileKind::BC); in BuildStubModuleAndSave() 152 Module* comM = generator.AddModule(&allocator, "com_stub", triple_, comOp, log in BuildStubModuleAndSave() [all...] |
H A D | range_analysis.cpp | 318 std::string log = ""; in PrintRangeInfo() local 323 log = "id:" + std::to_string(acc_.GetId(gate)); in PrintRangeInfo() 327 log += " constant"; in PrintRangeInfo() 331 log += " phi"; in PrintRangeInfo() 338 log += " add"; in PrintRangeInfo() 341 log += " sub"; in PrintRangeInfo() 344 log += " shr"; in PrintRangeInfo() 347 log += " ashr"; in PrintRangeInfo() 350 log += " mod"; in PrintRangeInfo() 353 log in PrintRangeInfo() [all...] |
/arkcompiler/ets_runtime/test/moduletest/assignproxy/ |
H A D | assignproxy.js | 22 var log = ""; variable 25 log += "get"; 31 print(log === "getget")
|
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/js/ |
H A D | ExceptionHandlingTest.js | 26 console.log('Result: ' + result); 28 console.log('Caught an exception: ' + e.message); 30 console.log('This is always executed.');
|