| /arkcompiler/runtime_core/static_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 18 raise NotImplementedError, "#{self.class} does not implement prologue()." 22 raise NotImplementedError, "#{self.class} does not implement epilogue()." 26 raise NotImplementedError, "#{self.class} does not implement log_exclusion()." 30 raise NotImplementedError, "#{self.class} does not implement log_skip_include()." 34 raise NotImplementedError, "#{self.class} does not implement log_skip_bugid()." 38 raise NotImplementedError, "#{self.class} does not implement log_skip_ignore()." 42 raise NotImplementedError, "#{self.class} does not implement log_skip_only_ignore()." 46 raise NotImplementedError, "#{self.class} does not implement log_ignore_ignored()." 50 raise NotImplementedError, "#{self.class} does not implement log_start_command()." 54 raise NotImplementedError, "#{self.class} does not implement log_failed_compilation()." [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 18 raise NotImplementedError, "#{self.class} does not implement prologue()." 22 raise NotImplementedError, "#{self.class} does not implement epilogue()." 26 raise NotImplementedError, "#{self.class} does not implement log_exclusion()." 30 raise NotImplementedError, "#{self.class} does not implement log_skip_include()." 34 raise NotImplementedError, "#{self.class} does not implement log_skip_bugid()." 38 raise NotImplementedError, "#{self.class} does not implement log_skip_ignore()." 42 raise NotImplementedError, "#{self.class} does not implement log_skip_only_ignore()." 46 raise NotImplementedError, "#{self.class} does not implement log_ignore_ignored()." 50 raise NotImplementedError, "#{self.class} does not implement log_start_command()." 54 raise NotImplementedError, "#{self.class} does not implement log_failed_compilation()." [all …]
|
| /arkcompiler/runtime_core/static_core/irtoc/lang/ |
| D | regmask.rb | 46 raise "RegMask is initialized with symbol, but Regmap wasn't specified" unless @regmap 47 raise "Regmap doesn't contain value for #{value}" unless @regmap.data.keys.include? value 50 raise "RegMask is initialized with wrong type: #{value.class}" unless value.is_a?(Integer) 68 raise "RegMask is initialized with wrong type: #{value.class}" unless value.is_a?(Integer) 74 raise "Wrong `position` type" unless position.is_a? Integer 84 raise "Wrong `position` type" unless position.is_a? Integer 97 raise "Symbol argument is only allowed if Regmap was specified" unless @regmap 99 raise "Register '#{other}' is not found in regmap" unless value 102 raise "Unsupported type: #{other.class}" 115 raise "Symbol argument is only allowed if Regmap was specified" unless @regmap [all …]
|
| D | regmap.rb | 24 raise "Regmap doesn't contain data for required arch" unless @data 43 raise "Unsupported type: #{other.class}" 53 raise "Unsupported type: #{other.class}"
|
| D | options.rb | 70 raise "Irtoc plugin doesn't specifiy its name: #{full_plugin_path}" unless line_matches 92 raise "Wrong arch: #{arch_str}" unless possible_arch.include?(self.arch.to_s) 96 raise "Compiler config doesn't contain `arch_info`" unless arch_info 98 raise "Arch info not found for #{self.arch}" unless arch_info 108 raise "Wrong cpu feature: #{feature}" unless possible_features.include?(feature.to_s) 111 …raise 'Supported IR APIs: ir-constructor, ir-builder, ir-inline' unless self.ir_api =~ /^ir-(const…
|
| D | validation.rb | 32 …raise "[Validation] `spills_count_max` failed for method `#{self.name}`: expected(#{value}) > real… 39 …raise "[Validation] `code_size_max` failed for method `#{self.name}`: expected(#{value}) > real(#{… 79 raise "Method not found: #{method_name}" unless method
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/ |
| D | coverage_manager.py | 60 raise NotImplementedError(f"Unsupported OS: {system}") 69 raise ValueError("build_dir_path is not initialized") 71 raise ValueError("build_dir_path must not be '.' or empty") 73 raise FileNotFoundError(f"Directory build_dir_path={build_dir_path} not found") 76 raise ValueError("coverage_dir is not initialized") 78 raise FileNotFoundError(f"Directory coverage_dir.root={coverage_dir.root} not found")
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/hooks/ |
| D | gclog.py | 56 raise RuntimeError(f'GC: no device path for "{bu.name}"') 58 raise RuntimeError('Remote shell has not been set!') 61 raise RuntimeError(f'GC: log missed "{gclog}"') 63 raise RuntimeError(f'GC: stdout is empty for "{bu.name}"') 65 raise RuntimeError('GC: gc_parcer not set for platform') 71 raise RuntimeError(f'GC: parser failure for "{bu.name}"')
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/ |
| D | chapters.py | 48 raise IncorrectFileFormatChapterException(chapters_file) 51 raise IncorrectFileFormatChapterException(chapters_file) 54 raise IncorrectFileFormatChapterException(chapters_file) 58 … raise IncorrectFileFormatChapterException(f"Chapter '{chapter.name}' already used") 71 raise IncorrectFileFormatChapterException( 77 raise IncorrectFileFormatChapterException(f"Incorrect file format: {chapters_file}") 129 :raise: CyclicDependencyChapterException if a cyclic dependency found 143 :raise: CyclicDependencyChapterException if a name of nested chapter is in seen names 150 raise CyclicDependencyChapterException(item)
|
| D | utils.py | 71 raise DownloadException(f'Downloading {url_file} file failed.') from exc 81 raise UnzipException(f'Failed to unzip {archive_file} file') from exc 133 raise FileNotFoundException(error) 268 raise InvalidConfiguration(f"The directory {arg} does not exist") 273 raise InvalidConfiguration(f"The directory {arg} does not exist") 309 raise InvalidConfiguration(f"The file {arg} does not exist") 317 raise InvalidConfiguration(f"{value} is an invalid {value_name} value") 370 raise YamlException(message) from exc 373 raise YamlException(error) 382 raise InvalidConfiguration(f"'{value}' cannot be converted to 'bool'")
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/compiler_verification/ |
| D | ast.py | 52 raise RuntimeError() 64 raise RuntimeError() 105 raise RuntimeError() 136 raise AstComparisonError(error_message) 180 raise RuntimeError() 183 raise RuntimeError() 204 raise AstComparisonError("AST comparison failed:\n" + "\n".join(error_list)) 214 raise RuntimeError() 221 raise RuntimeError() 230 raise AstComparisonError(error_report) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
| D | runnable_module.py | 53 raise FileNotFoundError(source_file) 62 raise RuntimeError() 72 raise FileNotFoundError(self._disasm_file) 89 raise FileNotFoundError(self.source_file) 94 raise FileNotFoundError(self.source_file) 96 raise FileNotFoundError(self.panda_file)
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/sts_utils/ |
| D | metainformation.py | 55 raise InvalidMetaException("Invalid meta or meta doesn't exist") 64 raise InvalidMetaException("Invalid meta") 80 raise InvalidMetaException("Invalid data format") 86 raise InvalidMetaException("Invalid data format") 89 raise InvalidMetaException(str(common_exp)) from common_exp
|
| D | test_parameters.py | 43 …raise InvalidFileFormatException(message="Lists of parameters must start with 'list.'", filepath=f… 47 … raise InvalidFileFormatException(message="Parameters list must be YAML array", filepath=filepath) 60 raise InvalidFileFormatException(
|
| /arkcompiler/toolchain/test/autotest/aw/implement_api/ |
| D | protocol_api.py | 41 … raise AssertionError("{} send ProtocolType inconsistent: Protocol {}, calling {}, should be {}" 51 … raise AssertionError("{} recv ProtocolType inconsistent: Protocol {}, calling {}, should be {}" 59 raise AssertionError("{} parse protocol name error: protocol_name {} is invalid" 63 … raise AssertionError("{} parse protocol name error: protocol_name {} has the wrong domain" 66 … raise AssertionError("{} parse protocol name error: protocol_name {} has not been defined"
|
| /arkcompiler/runtime_core/static_core/templates/ |
| D | common.rb | 40 raise "Compound option should not have `type` field, it is always bool" if respond_to?(:type) 41 …raise "Compound option should not have `default` field, it is always `false``" if respond_to?(:def… 47 def raise(msg) method in Option 63 raise "Wrong reference syntax: #{possible_values}" if possible_values[0] != '$' 66 raise "Invalid reference #{possible_values}" if target.nil? 81 …raise "Syntax error, 'default' should be of #{supported_default_types} type, got '#{self[:default]… 83 raise "Syntax error, 'Array'-default should be used with 'arg_list_t'-options" 135 raise "'enum' has invalid type" if !enum.is_a?(Array) && !enum.is_a?(OpenStruct) 168 …raise "Syntax error, 'default_target_specific' should be of 'OpenStruct' class, got '#{default_tar… 262 raise "Only boolean option can have sub options: #{option.name}" unless option.type == 'bool'
|
| /arkcompiler/runtime_core/taihe/compiler/taihe/codegen/abi/ |
| D | mangle.py | 92 raise ValueError("ULEB8 encoding requires non-negative values") 127 raise ValueError(f"Invalid hex character at position {pos}") from None 152 raise ValueError("segments list cannot be empty") 199 raise ValueError("Invalid mangled name: missing underscore separator") from None 202 raise ValueError("Invalid mangled name: missing kind marker or encoding") 221 raise ValueError(f"Failed to decode positions: {e!s}") from None 226 raise ValueError("Invalid mangled name: empty base name") from None
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
| D | shell.py | 127 raise NotImplementedError 130 raise NotImplementedError 139 raise NotImplementedError 144 raise NotImplementedError 149 raise NotImplementedError 152 raise NotImplementedError 187 raise NotImplementedError 192 raise NotImplementedError 201 raise NotImplementedError 302 raise NotImplementedError [all …]
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | isapi.rb | 43 raise "Unexpected accumulator signature: #{sig}" 61 raise "Unexpected operand signature: #{sig}" 84 raise "Method '#{name}' has been already defined" if frozen?(name) 283 raise "Incorrect format name #{name}" if bits % 8 != 0 294 encoding.default_proc = proc { |_, k| raise KeyError, "#{k} not found" } 308 raise "Format #{name} has no profile" unless profiled? 311 raise "Profile info not found in format #{name}" if prof.size != 1 332 raise "Incorrect operand #{name}" 337 raise "Incorrect type #{type}" unless types.include?(type.sub('[]', '').to_sym) 442 raise 'Cannot consume instruction without opcode' unless item.opcode_idx [all …]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/ |
| D | test_parameters.py | 42 …raise InvalidFileFormatException(message="Lists of parameters must start with 'list.'", filepath=f… 46 … raise InvalidFileFormatException(message="Parameters list must be YAML array", filepath=filepath) 59 raise InvalidFileFormatException(
|
| /arkcompiler/ets_runtime/test/jsperftest/ |
| D | prerun_proc.py | 71 raise RuntimeError("More then on script to preprocess") 78 raise RuntimeError(f"{arg} is wrong argument, please look at help") 81 raise RuntimeError("There is no script to preprocess") 84 raise RuntimeError("No vars to replace")
|
| /arkcompiler/ets_frontend/ets2panda/public/headers_parser/ |
| D | text_tools.py | 53 raise RuntimeError("Error while finding start of R-string.") 59 raise RuntimeError("Error while finding end of R-string.") 67 """Returns next position after string, raise Runtime error if no string found""" 79 raise RuntimeError("Error while finding end of string.") 125 raise RuntimeError("No opening bracket found in ANY mode") 138 raise RuntimeError("No opening bracket found") 147 raise RuntimeError("Error while finding end of scope.")
|
| D | arg_parser.py | 52 raise RuntimeError(f"Bad path to lib_gen_dir: '{args.lib_gen_dir}'\nSee --help for more.") 54 … raise RuntimeError(f"Bad path to es2panda_root: '{args.es2panda_root}'\nSee --help for more.") 57 raise RuntimeError(f"Bad path to header: '{header}'. See --help for more.")
|
| /arkcompiler/runtime_core/static_core/scripts/intrusive-testing/ |
| D | intrusive_instrumentator.py | 72 # raise: FatalError 79 raise FatalError(err_msg) 82 # raise: FatalError 89 raise FatalError(err_msg) 92 # raise: FatalError 99 raise FatalError(err_msg) 120 # raise: OSError 130 # raise: OSError 149 # raise: OSError 156 # raise: OSError [all …]
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
| D | es2abc.py | 36 raise RuntimeError('OHOS_SDK not found.') 40 raise RuntimeError('es2abc not found.') 60 raise VmbToolExecError(f'{self.name} failed: {src}', res)
|