Skip to content

Commit

Permalink
tests: lib: cpp: cxx: Filter out all ARMs from nRF54x and nRF92
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nordic-krch authored and kartben committed Jan 8, 2025
1 parent c9a9f0a commit d5637ec
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions tests/lib/cpp/cxx/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5637ec

Please sign in to comment.