twister: remove usage of deprecated gccarmemb variant

gccarmemb was deprecated 2 years ago, so remove it.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-02-03 16:50:14 -05:00
parent e7a335fb9d
commit e8cdbe03d2

View File

@ -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")