Commit 5681f87f authored by Sebastian Bøe's avatar Sebastian Bøe Committed by Anas Nashif
Browse files

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: default avatarSebastian Bøe <sebastian.boe@nordicsemi.no>
parent 4e5ae8e5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1705,6 +1705,9 @@ class TestSuite:
        toolchain = os.environ.get("ZEPHYR_TOOLCHAIN_VARIANT", None) or \
                    os.environ.get("ZEPHYR_GCC_VARIANT", None)

        if toolchain == "gccarmemb":
            # Remove this translation when gccarmemb is no longer supported.
            toolchain = "gnuarmemb"

        try:
            if not toolchain: