The test infrastructure uses EXTRA_CPPFLAGS to control which configuration is used, but this was also added to CMakeLists to ensure a common optional infrastructure was always available. Since unit tests don't use Kconfig, this actually prevented the test variants from being selected. Add the flag in the test itself, which works correctly since the test includes the implementation directly. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| main.c | ||
| testcase.yaml | ||