Skip to content

Commit

Permalink
sanitycheck: do not create overlays for filtered platforms
Browse files Browse the repository at this point in the history
Only create those for tests/boards we are actually going to run.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif authored and Anas Nashif committed Apr 9, 2018
1 parent 20f553f commit ab351f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/sanitycheck
Expand Up @@ -1821,7 +1821,6 @@ class TestSuite:
tc.tc_filter)
continue

instance.create_overlay()
instance_list.append(instance)

if not instance_list:
Expand All @@ -1843,6 +1842,10 @@ class TestSuite:
discards[instance] = "Not a default test platform"
else:
self.add_instances(instance_list)

for name, case in self.instances.items():
case.create_overlay()

self.discards = discards
return discards

Expand Down

0 comments on commit ab351f4

Please sign in to comment.