Home
last modified time | relevance | path

Searched +full:- +full:- +full:output (Results 1 – 25 of 537) sorted by relevance

12345678910>>...22

/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/
Djtr_reporter.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
33 @output = ''
44 @logger.log 1, '#-----testdescription-----'
48 @logger.log 1, '#-----testresult-----'
57 # add output section in case of failure
58 if !(@status =~ /Passed\.|Not run\./) and !@output.empty?
59 @logger.log 1, 'sections=output'
61 @logger.log 1, '#section:output'
62 lines = @output.split("\n").map(&:strip).reject { |l| l.match(/^$/) }
[all …]
Dtest_reporter.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
30 @logger.log 2, '----------------------------------------'
36 output = @logger.string
37 unless output.empty?
39 puts output
73 def log_failed_compilation(output) argument
76 @logger.log 1, output unless output.empty?
79 def log_failed_quickening(output) argument
82 @logger.log 1, output unless output.empty?
[all …]
Dallure_reporter.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
31 'message' => message, 'trace' => @output
44 pa_file.gsub('/', '_').gsub(/.pa$/, '-result.json')
50 @output = ''
101 @output << "\ncommand = #{cmd}"
104 def log_failed_compilation(output) argument
105 @output << "\n" << output
109 def log_negative_passed_compilation(output) argument
110 @output << "\n" << output
[all …]
/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
Djtr_reporter.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
33 @output = ''
44 @logger.log 1, '#-----testdescription-----'
48 @logger.log 1, '#-----testresult-----'
57 # add output section in case of failure
58 if !(@status =~ /Passed\.|Not run\./) and !@output.empty?
59 @logger.log 1, 'sections=output'
61 @logger.log 1, '#section:output'
62 lines = @output.split("\n").map(&:strip).reject { |l| l.match(/^$/) }
[all …]
Dallure_reporter.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
31 'message' => message, 'trace' => @output
44 pa_file.gsub('/', '_').gsub(/.pa$/, '-result.json')
50 @output = ''
101 @output << "\ncommand = #{cmd}"
104 def log_failed_compilation(output) argument
105 @output << "\n" << output
109 def log_negative_passed_compilation(output) argument
110 @output << "\n" << output
[all …]
Dtest_reporter.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
30 @logger.log 2, '----------------------------------------'
36 output = @logger.string
37 unless output.empty?
39 puts output
73 def log_failed_compilation(output) argument
76 @logger.log 1, output unless output.empty?
79 def log_failed_quickening(output) argument
82 @logger.log 1, output unless output.empty?
[all …]
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dir_generator.rb3 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
8 # http://www.apache.org/licenses/LICENSE-2.0
16 require_relative 'output'
28 Output.scoped_puts "inline bool #{func.name}(Inst* source_inst) {" do
29 Output << "Graph* graph = source_inst->GetBasicBlock()->GetGraph();"
30 Output << "[[maybe_unused]] auto pc = source_inst->GetPc();"
31 Output << "[[maybe_unused]] auto save_state = source_inst->GetSaveState();"
32 Output << "[[maybe_unused]] auto current_inst = source_inst;" if @func.simple_control_flow?
34 Output << "Inst* p_#{index} = source_inst->GetInput(#{index}).GetInst();"
36 Output << "[[maybe_unused]] auto *runtime = graph->GetRuntime();"
[all …]
Dfunction.rb3 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
8 # http://www.apache.org/licenses/LICENSE-2.0
18 require_relative 'output'
153 … raise "Wrong place of `WhilePhi` instruction" unless @cf_stack[-1].kind == CfBlock::Kind::While
154 raise "Invalid `While` block" if @cf_stack[-1].head_bb.nil?
155 block = @cf_stack[-1].head_bb
207 @inst_index - 1
222 Output.printlni("COMPILE(#{@name}#{suffix}) {")
224Output.println("if(GetGraph()->GetArch() != #{Options.cpp_arch}) LOG(FATAL, IRTOC) << \"Arch doesn…
226 Output.println("GetGraph()->SetIrtocPrologEpilogOptimized();")
[all …]
Dirtoc.rb3 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
8 # http://www.apache.org/licenses/LICENSE-2.0
23 require_relative 'output'
41 #include "runtime/mem/gc/g1/g1-allocator.h"
48 // NOLINTBEGIN(readability-identifier-naming)
53 // NOLINTEND(readability-identifier-naming)
101 raise "Macro can't start with capital letter" if name.to_s.start_with? /[A-Z]/
107 raise "Macro can't start with capital letter" if name.to_s.start_with? /[A-Z]/
112 …if args.size != block.arity && block.arity >= 0 || args.size < -(block.arity + 1) && block.arity <…
144 output = ""
[all …]
Dinstruction.rb3 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
8 # http://www.apache.org/licenses/LICENSE-2.0
18 require_relative 'output'
32 !@dscr.signature.empty? && @dscr.signature[0].split('-').include?('d')
93 @dscr.signature&.any? { |operand| operand.end_with?('-dyn') }
146 Output << "// #{self.to_s}"
147 Output << "// #{self.annotation}"
151 Output.println "PARAMETER(#{@index}, #{@fields[:ArgIndex]}).#{@type}();"
180 Output.println ss
209 :ref_uint => :'GetIntTypeForReference(GetGraph()->GetArch())'
[all …]
/arkcompiler/ets_frontend/legacy_bin/
DBUILD.gn1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
16 # for js-loader
19 output = "js_linux/${source}"
26 output = "js_win/${source}"
33 output = "js_mac/${source}"
40 output = "js_linux/${source}"
47 output = "js_win/${source}"
54 output = "js_mac/${source}"
61 output = "js_linux/${source}"
[all …]
/arkcompiler/runtime_core/tests/cts-generator/runner/
Dresult.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
17 # Class-level mutex and test execution statistics
29 def update_failed_compilation(output, file) argument
34 @reporter.log_failed_compilation output
37 def update_failed_quickening(output, file) argument
42 @reporter.log_failed_quickening output
45 def update_negative_passed_compilation(output, file) argument
50 @reporter.log_negative_passed_compilation output
53 def update_failed_negative_compilation(output, file) argument
[all …]
Dsingle_test_runner.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
29 .grep(/^\s*##\s*runner-option\s*:\s*[\S*\s*]*\s*$/)
45 @pa_options = if @runner_options.include? 'use-pa'
46 '--load-runtimes="core" ' \
47 '--boot-panda-files=' \
53 @verifier_options = $verbose_verifier ? '--log-components=verifier --log-level=debug ' : ''
55 …@verifier_config_args = if (@runner_options.key?('verifier-config') || verifier_forced?) && !$veri…
56 "--config-file=#{$verifier_config} "
61 if @runner_options.include? 'main-exitcode-wrapper'
[all …]
Drunner.rb1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
82 def dump_output(t, output_err, output) argument
85 while (Time.now - start) <= $TIMEOUT
88 output << output_err.read_nonblock(2048)
93 output << "\nUnexpected exception when reading from pipe: #{e.class.name}, #{e.message}"
107 output = ''
108 finished = dump_output t, output_err, output
114 output << "\nProcess hangs for #{$TIMEOUT}s '#{@command}'" \
117 Process.kill('-TERM', Process.getpgid(pid))
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/
Dresult.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
17 # Class-level mutex and test execution statistics
29 def update_failed_compilation(output, file) argument
34 @reporter.log_failed_compilation output
37 def update_failed_quickening(output, file) argument
42 @reporter.log_failed_quickening output
45 def update_negative_passed_compilation(output, file) argument
50 @reporter.log_negative_passed_compilation output
53 def update_failed_negative_compilation(output, file) argument
[all …]
Dsingle_test_runner.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
29 .grep(/^\s*##\s*runner-option\s*:\s*[\S*\s*]*\s*$/)
46 @verifier_options = $verbose_verifier ? '--log-components=verifier --log-level=debug ' : ''
48 …@verifier_config_args = if (@runner_options.key?('verifier-config') || verifier_forced?) && !$veri…
49 "--config-file=#{$verifier_config} "
54 if @runner_options.include? 'main-exitcode-wrapper'
57 # this value is used to determine false-positive cases
70 if match = line.match(/^## panda-options: (.+)\s*$/)
104 (@runner_options.include? 'compile-failure' or
[all …]
Drunner.rb1 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
82 def dump_output(t, output_err, output) argument
85 while (Time.now - start) <= $TIMEOUT
88 output << output_err.read_nonblock(2048)
93 output << "\nUnexpected exception when reading from pipe: #{e.class.name}, #{e.message}"
107 output = ''
108 finished = dump_output t, output_err, output
114 output << "\nProcess hangs for #{$TIMEOUT}s '#{@command}'" \
117 Process.kill('-TERM', Process.getpgid(pid))
[all …]
/arkcompiler/runtime_core/gn/build/toolchain/
DBUILD.gn1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
53 depfile = "{{output}}.d"
54 …command = "$cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${extra_cppf…
56 description = "CC {{output}}"
62 depfile = "{{output}}.d"
63 …command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} ${extra_cp…
65 description = "CXX {{output}}"
71 depfile = "{{output}}.d"
72 …command = "$asm -MMD -MF $depfile {{defines}} {{include_dirs}} {{asmflags}} ${extra_asmflags} -c {…
[all …]
/arkcompiler/runtime_core/static_core/gn/build/toolchain/
DBUILD.gn1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
6 # http://www.apache.org/licenses/LICENSE-2.0
59 depfile = "{{output}}.d"
60 …command = "$cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} ${extra_cppf…
63 description = "CC {{output}}"
68 depfile = "{{output}}.d"
69 …command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} ${extra_cp…
72 description = "CXX {{output}}"
77 depfile = "{{output}}.d"
78 …command = "$asm -MMD -MF $depfile {{defines}} {{include_dirs}} {{asmflags}} ${extra_asmflags} -c {…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DProcessTest.sts7 * http://www.apache.org/licenses/LICENSE-2.0
31 let output: String = "";
34 output += String.fromCharCode(buffer.$_get(i));
37 return output;
49 let output = getChildOutputAsString(child);
50 let tokens: String[] = output.split(separator);
55 let output = getChildErrorOutputAsString(child);
56 let tokens: String[] = output.split(separator);
67 let output: String = runChildAndGetOutput(command);
68 let atributes: String[] = output.split(separator);
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/templates/
Dpipeline.rb2 # Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 # http://www.apache.org/licenses/LICENSE-2.0
23 opts.on('-d', '--data FILE', 'Source data (required)')
24 opts.on('-o', '--output FILE', 'Output file')
25 opts.on('-s', '--suffix STRING', 'Suffix for generated variable')
27 opts.on('-h', '--help', 'Prints this help') do
39 output = options.output ? File.open(File.expand_path(options.output), 'w') : $stdout
40 output.write(lines)
41 output.close
/arkcompiler/runtime_core/libpandabase/templates/
Dlogger_gen.rb2 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 # http://www.apache.org/licenses/LICENSE-2.0
25 opts.on('-d', '--data FILE', 'Logger data file in YAML format')
26 opts.on('-p', '--plugins FILE', 'Plugins data file in YAML format')
27 opts.on('-o', '--output FILE', 'Output file (default is stdout)')
29 opts.on('-h', '--help', 'Prints this help') do
50 output = options.output ? File.open(File.expand_path(options.output), 'w') : $stdout
51 output.write(data.to_yaml)
52 output.close
/arkcompiler/runtime_core/static_core/libpandabase/templates/
Dlogger_gen.rb2 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 # http://www.apache.org/licenses/LICENSE-2.0
25 opts.on('-d', '--data FILE', 'Logger data file in YAML format')
26 opts.on('-p', '--plugins FILE', 'Plugins data file in YAML format')
27 opts.on('-o', '--output FILE', 'Output file (default is stdout)')
29 opts.on('-h', '--help', 'Prints this help') do
50 output = options.output ? File.open(File.expand_path(options.output), 'w') : $stdout
51 output.write(data.to_yaml)
52 output.close
/arkcompiler/runtime_core/static_core/cross_values/
Dcross_values_generator.rb2 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 # http://www.apache.org/licenses/LICENSE-2.0
17 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved.
20 // Autogenerated file -- DO NOT EDIT!
25 // NOLINTNEXTLINE(readability-identifier-naming)
32 defines = data.scan /"\^\^(\w+) [#\$]?([-+]?\d+)\^\^"/
33 output = ""
34 output += HEADER
37 output += "static constexpr ptrdiff_t #{define[0]}_VAL = #{define[1]};\n"
39 output += "} // namespace ark::cross_values::#{ARGV[2]}\n\n"
[all …]
/arkcompiler/runtime_core/static_core/isa/
Dcombine.rb2 # Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 # http://www.apache.org/licenses/LICENSE-2.0
29 opts.on('-d', '--data FILE1,FILE2,...', Array, 'List of source data files in YAML format')
30 opts.on('-o', '--output FILE', 'Output file (default is stdout)')
32 opts.on('-h', '--help', 'Prints this help') do
60 output = options.output ? File.open(File.expand_path(options.output), 'w') : $stdout
61 output.write(data.to_yaml)
62 output.close

12345678910>>...22