From e8cdbe03d27d0d2aca5dd64dcd8e211f8cf39ca3 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 3 Feb 2021 16:50:14 -0500 Subject: [PATCH] twister: remove usage of deprecated gccarmemb variant gccarmemb was deprecated 2 years ago, so remove it. Signed-off-by: Anas Nashif --- scripts/pylib/twister/twisterlib.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/pylib/twister/twisterlib.py b/scripts/pylib/twister/twisterlib.py index 2e138e85b41..ed1eb20bade 100644 --- a/scripts/pylib/twister/twisterlib.py +++ b/scripts/pylib/twister/twisterlib.py @@ -2809,13 +2809,7 @@ class TestSuite(DisablePyTestCollectionMixin): @staticmethod def get_toolchain(): - 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" - + toolchain = os.environ.get("ZEPHYR_TOOLCHAIN_VARIANT", None) try: if not toolchain: raise TwisterRuntimeError("E: Variable ZEPHYR_TOOLCHAIN_VARIANT is not defined")