twister: filter out native_sim on ! Linux
native_sim only works and builds on Linux, when running twister on the Mac, this platform fails to build and reports errors. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fa93fe271b
commit
96ab891f3a
1 changed files with 2 additions and 0 deletions
|
@ -933,6 +933,8 @@ class TestPlan:
|
|||
"Environment ({}) not satisfied".format(", ".join(plat.env)),
|
||||
Filters.ENVIRONMENT
|
||||
)
|
||||
if plat.type == 'native' and sys.platform != 'linux':
|
||||
instance.add_filter("Native platform requires Linux", Filters.ENVIRONMENT)
|
||||
|
||||
if not force_toolchain \
|
||||
and toolchain and (toolchain not in plat.supported_toolchains):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue