tests: bindesc: reading: Remove usage of deprecated global CSTD

Replace global CSTD property with kconfig options.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-11-19 16:03:48 +01:00 committed by Fabio Baltieri
commit 85b991af5a

View file

@ -10,14 +10,23 @@ tests:
- native_posix
- native_sim
bindesc.read.c99:
extra_args: CSTD="c99"
extra_configs:
- CONFIG_STD_C99=y
bindesc.read.c11:
extra_args: CSTD="c11"
extra_configs:
- CONFIG_STD_C11=y
bindesc.read.c17:
extra_args: CSTD="c17"
extra_configs:
- CONFIG_STD_C17=y
bindesc.read.gnu99:
extra_args: CSTD="gnu99"
extra_configs:
- CONFIG_STD_C99=y
- CONFIG_GNU_C_EXTENSIONS=y
bindesc.read.gnu11:
extra_args: CSTD="gnu11"
extra_configs:
- CONFIG_STD_C11=y
- CONFIG_GNU_C_EXTENSIONS=y
bindesc.read.gnu17:
extra_args: CSTD="gnu17"
extra_configs:
- CONFIG_STD_C17=y
- CONFIG_GNU_C_EXTENSIONS=y