sanitycheck: fix platform filtering
The build_on_all tag in synchronisation sample was resetting the supplied arguemnt for filtering platforms. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
3afb47887f
commit
bfab06bb52
|
@ -1316,7 +1316,7 @@ class TestSuite:
|
|||
if (arch_name == "unit") != (tc.type == "unit"):
|
||||
continue
|
||||
|
||||
if tc.build_on_all:
|
||||
if tc.build_on_all and not platform_filter:
|
||||
platform_filter = []
|
||||
|
||||
if tc.skip:
|
||||
|
@ -1414,7 +1414,7 @@ class TestSuite:
|
|||
discards[instance] = "Skip filter"
|
||||
continue
|
||||
|
||||
if tc.build_on_all:
|
||||
if tc.build_on_all and not platform_filter:
|
||||
platform_filter = []
|
||||
|
||||
if tag_filter and not tc.tags.intersection(tag_filter):
|
||||
|
|
Loading…
Reference in a new issue