Skip to content

Commit d5637ec

Browse files
nordic-krchkartben
authored andcommitted
tests: lib: cpp: cxx: Filter out all ARMs from nRF54x and nRF92
Instead of extending list of unsupported platforms use filter that will exclude or current and next ARM cores from platforms with HAL that does not support C++98. Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent c9a9f0a commit d5637ec

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

tests/lib/cpp/cxx/testcase.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,12 @@ tests:
3434
# -std=c++98)
3535
cpp.main.cpp98:
3636
arch_exclude: posix
37-
# Exclude nRF54L series, nRF54H20 and nRF9280 as Nordic HAL is not compatible with C++98.
37+
# Exclude ARM cores from nRF54H, nRF92n and RF54L series as Nordic HAL is not
38+
# compatible with C++98.
3839
# Exclude CONFIG_HAS_RENESAS_RA_FSP and CONFIG_HAS_RENESAS_RZ_FSP as Renesas HALs are not
3940
# compatible with C++98.
40-
platform_exclude:
41-
- nrf54l15dk/nrf54l05/cpuapp
42-
- nrf54l15dk/nrf54l10/cpuapp
43-
- nrf54l15dk/nrf54l15/cpuapp
44-
- nrf54l20pdk/nrf54l20/cpuapp
45-
- nrf54h20dk/nrf54h20/cpuapp
46-
- nrf54h20dk/nrf54h20/cpurad
47-
- nrf9280pdk/nrf9280/cpuapp
48-
- nrf9280pdk/nrf9280/cpurad
49-
filter: not CONFIG_HAS_RENESAS_RA_FSP and not CONFIG_HAS_RENESAS_RZ_FSP
41+
filter: not CONFIG_HAS_RENESAS_RA_FSP and not CONFIG_HAS_RENESAS_RZ_FSP and
42+
not (CONFIG_CPU_CORTEX_M and (CONFIG_NRF_PLATFORM_HALTIUM or CONFIG_SOC_SERIES_NRF54LX))
5043
build_only: true
5144
extra_configs:
5245
- CONFIG_STD_CPP98=y

0 commit comments

Comments
 (0)