Lines Matching +full:platform +full:- +full:schema
5 # SPDX-License-Identifier: Apache-2.0
9 into a JSON files compatible with Twister report schema making them ready for upload
16 with the corresponding sub-directories.
18 For example, an input path `./**/*v3.6.0-rc3-*/footprints/**/frdm_k64f/` will be
19 expanded by bash to all sub-directories with the 'footprints' data `v3.6.0-rc3`
22 `shopt -s globstar`.
29 This scripts has `--test-name` parameter to customize how to compose test names
48 VERSION_COMMIT_RE = re.compile(r".*-g([a-f0-9]{12})$")
71 console.setFormatter(logging.Formatter('%(asctime)s - %(levelname)-8s - %(message)s'))
95 parser.add_argument('-p', '--plan', metavar='PLAN_FILE_CSV', required=True,
100 parser.add_argument('-o', '--output-fname', metavar='OUTPUT_FNAME', required=False,
105 parser.add_argument('-z', '--zephyr_base', metavar='ZEPHYR_BASE', required=False,
111 parser.add_argument("--test-name",
117 parser.add_argument("--no-testsuite-check",
121 parser.add_argument('-v', '--verbose', required=False, action='count', default=0,
127 def read_plan(fname: str) -> list[dict]:
201 logging.warning(f"skipped '{report_path}' - not a correct report directory")
205 logging.info(f"filtered '{report_path}' - not in the plan")
212 logging.info(f"filtered '{report_path}' - no Twister suite name in the plan.")
246 # Compose twister_footprint.json record - each application (test suite) will have its own
261 'platform': [ plan[r_plan]['board'] ]
268 'platform': plan[r_plan]['board'],