Lines Matching +full:bad +full:- +full:key +full:- +full:2

4 # Copyright (c) 2018-2024 Intel Corporation
7 # SPDX-License-Identifier: Apache-2.0
28 print("Install the anytree module to use the --test-tree option")
50 "python-devicetree", "src"))
51 from devicetree import edtlib # pylint: disable=unused-import
57 PLATFORM_KEY = 'platform key filter'
86 config_re = re.compile('(CONFIG_[A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$')
87 dt_re = re.compile('([A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$')
91 "scripts", "schemas", "twister", "testsuite-schema.yaml"))
94 "scripts", "schemas", "twister", "quarantine-schema.yaml"))
101 "test-config-schema.yaml"
186 print(f" - {test}")
245 # If the platform does not exist in the hardware map or was not specified by --platform,
272 raise TwisterRuntimeError("Bad subset value.") from err
288 # the execution order is: "plat1-testA, plat1-testB, ...,
289 # plat1-testZ, plat2-testA, ...". For hardware tests
292 # "plat1-testA, plat2-testA, ..., plat1-testB, plat2-testB, ..."
295 key=lambda x: x[0][x[0].find("/") + 1:]))
317 num_extra_sets = total - (per_set * sets)
323 start = (subset - 1) * (per_set + 1)
327 start = ((subset - num_extra_sets - 1) * per_set) + base
335 # add all pre-filtered tests that are skipped or got error status
350 logger.info("Test tree is always shown with detailed test-id.")
355 logger.info("Test list is always shown with detailed test-id.")
369 msg += (f"- {dupe} found in:\n")
371 msg += (f" - {dc.yamlfile}\n")
382 print(f"- {t}")
411 if area and len(sec) > 2:
429 print(f" - {test}")
651 logger.debug(f"Skip - {msg}")
734 # test marked as built only can run when --test-only is used.
808 # When --all used, any --platform arguments ignored
1063 # If the "appends" key is present with at least one entry then this
1064 # snippet applies to all boards and further platform-specific checks
1071 match = re.search(this_board[1:-1], plat.name)
1086 # platform_key is a list of unique platform attributes that form a unique key
1088 # A key containing a field name that the platform does not have
1100 for key in keys:
1101 if key is None or key == 'na':
1103 "Excluded platform missing key fields"
1121 f"Already covered for key {key}"
1122 f" by platform {keyed_test['plat'].name} having key {plat_key}",
1239 Verify if platform name (passed by --platform option, or in yaml file
1240 as platform_allow or integration_platforms options) is correct. If not -
1250 logger.error(f"{log_info} - unrecognized platform - {platform}")
1251 sys.exit(2)
1256 Iterate through all no-skipped instances in suite and create links
1273 path and link them with original path - create link. At the end