sanitycheck: enhance toolchain filtering
Do not run filters on platforms not supported by toolchain. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
634d3b46a9
commit
cf21f5f10b
1 changed files with 2 additions and 1 deletions
|
@ -1364,7 +1364,8 @@ class TestSuite:
|
|||
if tc.platform_whitelist and plat.name not in tc.platform_whitelist:
|
||||
continue
|
||||
|
||||
if tc.tc_filter and (plat.default or all_plats or platform_filter):
|
||||
if (tc.tc_filter and (plat.default or all_plats or platform_filter) and
|
||||
toolchain in plat.supported_toolchains):
|
||||
args = tc.extra_args[:]
|
||||
args.extend(["ARCH=" + plat.arch,
|
||||
"BOARD=" + plat.name, "config-sanitycheck"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue