tests: bindesc: Replace CSTD definition with Kconfig symbols

Replace the bindesc testcase CSTD definitions with the newly introduced
kconfig symbols.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-04-15 21:12:26 +02:00 committed by Fabio Baltieri
parent 01bd72b9eb
commit 4d1ae8ce59

View file

@ -22,14 +22,23 @@ tests:
- qemu_riscv32e
- qemu_riscv64
bindesc.define.c99:
extra_args: CSTD="c99"
extra_configs:
- CONFIG_STD_C99=y
bindesc.define.c11:
extra_args: CSTD="c11"
extra_configs:
- CONFIG_STD_C11=y
bindesc.define.c17:
extra_args: CSTD="c17"
extra_configs:
- CONFIG_STD_C17=y
bindesc.define.gnu99:
extra_args: CSTD="gnu99"
extra_configs:
- CONFIG_STD_C99=y
- CONFIG_GNU_C_EXTENSIONS=y
bindesc.define.gnu11:
extra_args: CSTD="gnu11"
extra_configs:
- CONFIG_STD_C11=y
- CONFIG_GNU_C_EXTENSIONS=y
bindesc.define.gnu17:
extra_args: CSTD="gnu17"
extra_configs:
- CONFIG_STD_C17=y
- CONFIG_GNU_C_EXTENSIONS=y