Skip to content

Commit 4d1ae8c

Browse files
pdgendtfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 01bd72b commit 4d1ae8c

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

tests/subsys/bindesc/definition/testcase.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,23 @@ tests:
2222
- qemu_riscv32e
2323
- qemu_riscv64
2424
bindesc.define.c99:
25-
extra_args: CSTD="c99"
25+
extra_configs:
26+
- CONFIG_STD_C99=y
2627
bindesc.define.c11:
27-
extra_args: CSTD="c11"
28+
extra_configs:
29+
- CONFIG_STD_C11=y
2830
bindesc.define.c17:
29-
extra_args: CSTD="c17"
31+
extra_configs:
32+
- CONFIG_STD_C17=y
3033
bindesc.define.gnu99:
31-
extra_args: CSTD="gnu99"
34+
extra_configs:
35+
- CONFIG_STD_C99=y
36+
- CONFIG_GNU_C_EXTENSIONS=y
3237
bindesc.define.gnu11:
33-
extra_args: CSTD="gnu11"
38+
extra_configs:
39+
- CONFIG_STD_C11=y
40+
- CONFIG_GNU_C_EXTENSIONS=y
3441
bindesc.define.gnu17:
35-
extra_args: CSTD="gnu17"
42+
extra_configs:
43+
- CONFIG_STD_C17=y
44+
- CONFIG_GNU_C_EXTENSIONS=y

0 commit comments

Comments
 (0)