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 <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-12-02 08:58:30 +01:00 committed by Benjamin Cabé
parent c9a9f0ab08
commit d5637ec374

View file

@ -34,19 +34,12 @@ tests:
# -std=c++98)
cpp.main.cpp98:
arch_exclude: posix
# Exclude nRF54L series, nRF54H20 and nRF9280 as Nordic HAL is not compatible with C++98.
# Exclude ARM cores from nRF54H, nRF92n and RF54L series as Nordic HAL is not
# compatible with C++98.
# Exclude CONFIG_HAS_RENESAS_RA_FSP and CONFIG_HAS_RENESAS_RZ_FSP as Renesas HALs are not
# compatible with C++98.
platform_exclude:
- nrf54l15dk/nrf54l05/cpuapp
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpurad
- nrf9280pdk/nrf9280/cpuapp
- nrf9280pdk/nrf9280/cpurad
filter: not CONFIG_HAS_RENESAS_RA_FSP and not CONFIG_HAS_RENESAS_RZ_FSP
filter: not CONFIG_HAS_RENESAS_RA_FSP and not CONFIG_HAS_RENESAS_RZ_FSP and
not (CONFIG_CPU_CORTEX_M and (CONFIG_NRF_PLATFORM_HALTIUM or CONFIG_SOC_SERIES_NRF54LX))
build_only: true
extra_configs:
- CONFIG_STD_CPP98=y