summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/cases/distro.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/checklayer/cases/distro.py')
-rw-r--r--scripts/lib/checklayer/cases/distro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/checklayer/cases/distro.py b/scripts/lib/checklayer/cases/distro.py
index f0bee5493c..a35332451c 100644
--- a/scripts/lib/checklayer/cases/distro.py
+++ b/scripts/lib/checklayer/cases/distro.py
@@ -11,7 +11,7 @@ from checklayer.case import OECheckLayerTestCase
class DistroCheckLayer(OECheckLayerTestCase):
@classmethod
def setUpClass(self):
- if self.tc.layer['type'] != LayerType.DISTRO:
+ if self.tc.layer['type'] not in (LayerType.DISTRO, LayerType.CORE):
raise unittest.SkipTest("DistroCheckLayer: Layer %s isn't Distro one." %\
self.tc.layer['name'])