Home
last modified time | relevance | path

Searched refs:yaml (Results 1 - 21 of 21) sorted by relevance

/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/multiple_config_test/
H A Dmultiple_config_test.py46 yaml = YamlDocument()
47 yaml.load_configs(
48 [os.path.join(self.current_folder, "config-1.yaml")]
50 actual: Optional[Dict[str, Any]] = yaml.document()
73 self.assertListEqual(yaml.warnings(), [])
76 yaml = YamlDocument()
77 yaml.load_configs(
79 os.path.join(self.current_folder, "config-1.yaml"),
80 os.path.join(self.current_folder, "config-2.yaml")
83 actual: Optional[Dict[str, Any]] = yaml
[all...]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
H A Ddecorator_value.py48 yaml = ConfigKeeper.get().get_value_by_path(yaml_path)
49 yaml = cast_to_type(yaml) if cast_to_type is not None and yaml is not None else yaml
50 if yaml is not None:
51 return yaml
114 # from yaml: simple list of strings
H A Dyaml_document.py21 import yaml namespace
39 data: Dict[str, Any] = yaml.safe_load(stream)
41 except yaml.YAMLError as exc:
42 Log.exception_and_raise(_LOGGER, str(exc), yaml.YAMLError)
46 data_to_save = yaml.dump(data, indent=4)
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/
H A Dfile_tools.py19 import yaml namespace
25 yaml.dump(data_yaml, file)
/arkcompiler/runtime_core/isa/
H A Dcheck_version.py18 import yaml namespace
24 isa_file_path = os.path.join(script_dir, 'isa.yaml')
30 data = yaml.safe_load(file)
/arkcompiler/ets_frontend/test/scripts/auto_xts_test/
H A Dresult.py20 import yaml namespace
23 with open(r".\config.yaml", 'r') as f:
24 data = yaml.safe_load(f.read())
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
H A Dets_utils.py21 import yaml namespace
32 TEST_GENERATOR_REPORT = "test_generator_report.yaml"
51 yaml.dump(report_obj, file_handle)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/
H A Dtest_parameters.py19 # that are used in templates (yaml lists).
24 import yaml namespace
57 params = yaml.safe_load(text)
H A Dmetainformation.py25 import yaml namespace
85 data = yaml.safe_load(yaml_string)
/arkcompiler/ets_frontend/test/scripts/utils/flash_image/
H A Dburn_image.py26 import yaml namespace
36 config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../config.yaml')
38 data = yaml.safe_load(config_file.read())
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
H A Dspec_report.py23 import yaml namespace
45 SPEC_CONFIG_FILE = "arkts-spec-config.yaml"
64 str(yaml_report) if yaml_report else path.join(report_path, f"{test_suite}_spec-report.yaml")
72 self.config: Dict = yaml.safe_load(data)
83 def obj_to_dict(dumper: yaml.SafeDumper, data: SpecNode) -> Any:
151 yaml.SafeDumper.add_representer(SpecNode, SpecReport.obj_to_dict)
153 yaml.safe_dump(res, file, default_flow_style=False, sort_keys=False)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
H A Dtemplate.py22 import yaml namespace
77 yaml_content = yaml.dump(meta.config)
107 result: Dict[str, Any] = yaml.safe_load(text)
H A Dtest_metadata.py25 import yaml namespace
93 metadata = yaml.safe_load(yaml_text)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/compiler_verification/
H A Dexpression_verifier.py23 import yaml namespace
48 metadata = yaml.safe_load(yaml_text)
/arkcompiler/ets_frontend/test/scripts/utils/send_email/
H A Dsend_email.py23 import yaml namespace
58 with open(r"../config.yaml", 'r') as f:
59 data = yaml.safe_load(f.read())
/arkcompiler/ets_frontend/test/scripts/utils/commit_message/
H A Dget_commit_message.py28 import yaml namespace
35 config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../config.yaml')
37 configs = yaml.safe_load(config_file)
/arkcompiler/ets_frontend/test/scripts/utils/download_sdk_and_image/
H A Dupdate.py26 import yaml namespace
30 config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../config.yaml')
32 configs = yaml.safe_load(config_file)
H A Ddownload.py36 import yaml namespace
49 config_file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../config.yaml')
51 configs = yaml.safe_load(config_file)
/arkcompiler/runtime_core/static_core/compiler/tools/
H A Dir_builder_coverage.sh37 ISA=$PANDA_BINARY_ROOT/isa/isa.yaml
/arkcompiler/ets_frontend/test/scripts/sdk_test/
H A Doptions.py26 import yaml namespace
124 help='specify sdk path if need to update sdk. Default to use sdk specify in config.yaml')
155 config_yaml = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'config.yaml')
158 configs = yaml.safe_load(config_file)
/arkcompiler/runtime_core/static_core/scripts/intrusive-testing/
H A Dintrusive_instrumentator.py27 import yaml namespace
314 self.__obj = yaml.safe_load(f)
705 except yaml.YAMLError as yaml_err:

Completed in 6 milliseconds