sanitycheck: check for deprecated variant env variable
For those still using old variable ZEPHYR_GCC_VARIANT. raise an error if the variable is not defined. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
91b681a724
commit
7fe35cf886
1 changed files with 6 additions and 1 deletions
|
@ -1546,7 +1546,12 @@ class TestSuite:
|
|||
|
||||
def apply_filters(self):
|
||||
|
||||
toolchain = os.environ.get("ZEPHYR_TOOLCHAIN_VARIANT", None)
|
||||
toolchain = os.environ.get("ZEPHYR_TOOLCHAIN_VARIANT", None) or \
|
||||
os.environ.get("ZEPHYR_GCC_VARIANT", None)
|
||||
if not toolchain:
|
||||
raise SanityRuntimeError("E: Variable ZEPHYR_TOOLCHAIN_VARIANT is not defined")
|
||||
|
||||
|
||||
instances = []
|
||||
discards = {}
|
||||
platform_filter = options.platform
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue