zephyr/samples/kernel/bootargs/sample.yaml
Gerard Marull-Paretas d4a67e321b samples, tests: remove usage of space-separated lists
Convert them to native YAML lists. Support for space-separated
lists was deprecated in Twister a long time ago.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2024-12-04 14:14:53 -05:00

33 lines
867 B
YAML

sample:
name: Bootargs Sample
tests:
sample.kernel.bootargs.multiboot:
extra_args: EXTRA_CONF_FILE=prj_multiboot.conf
platform_allow:
- qemu_x86
- qemu_x86_64
harness: console
harness_config:
type: one_line
regex:
- "argv\\[0\\] = .*/zephyr(-qemu-locore)?.elf"
sample.kernel.bootargs.efi:
extra_args: EXTRA_CONF_FILE=prj_efi.conf
platform_allow: qemu_x86_64
harness: console
harness_config:
type: one_line
regex:
- "argv\\[0\\] = run.efi"
sample.kernel.bootargs.tokenization:
extra_configs:
- CONFIG_BOOTARGS_STRING="appname arg1 'arg2.1 arg2.2' arg3"
harness: console
harness_config:
type: multi_line
regex:
- "argv\\[0\\] = appname"
- "argv\\[1\\] = arg1"
- "argv\\[2\\] = arg2.1 arg2.2"
- "argv\\[3\\] = arg3"