Skip to content

Commit 5681f87

Browse files
SebastianBoenashif
authored andcommitted
sanitycheck: Support legacy variant 'gccarmemb'
CMake will translate from the toolchain variant 'gccarmemb' to 'gnuarmemb', but sanitycheck does not. This causes inconsistent and therefore confusing behaviour between CMake and sanitycheck. Until gccarmemb is dropped support for, do the same translation with sanitycheck. Signed-off-by: Sebastian Bøe <[email protected]>
1 parent 4e5ae8e commit 5681f87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/sanitycheck

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,6 +1705,9 @@ class TestSuite:
17051705
toolchain = os.environ.get("ZEPHYR_TOOLCHAIN_VARIANT", None) or \
17061706
os.environ.get("ZEPHYR_GCC_VARIANT", None)
17071707

1708+
if toolchain == "gccarmemb":
1709+
# Remove this translation when gccarmemb is no longer supported.
1710+
toolchain = "gnuarmemb"
17081711

17091712
try:
17101713
if not toolchain:

0 commit comments

Comments
 (0)