| Summary: | We never run "oe-test core" anywhere in the test infrastructure | ||
|---|---|---|---|
| Product: | [QA/Testing] Functional (self) Testing | Reporter: | Richard Purdie <richard.purdie> |
| Component: | general | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | akuster, randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 4.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | NEEDINFO | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Richard Purdie
2019-12-04 17:40:15 UTC
there is an autobuilder component with this RESULTS - test_basic.OETestExampleDepend.test_example_depends: SKIPPED (0.00s) this is all this test runs.
# Copyright (C) 2016 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
from oeqa.core.case import OETestCase
from oeqa.core.decorator.depends import OETestDepends
class OETestExample(OETestCase):
def test_example(self):
self.logger.info('IMAGE: %s' % self.td.get('IMAGE'))
self.assertEqual('core-image-minimal', self.td.get('IMAGE'))
self.logger.info('ARCH: %s' % self.td.get('ARCH'))
self.assertEqual('x86', self.td.get('ARCH'))
def test_example_depends(self):
pass
class OETestExampleDepend(OETestCase):
@OETestDepends(['OETestExample.test_example'])
def test_example_depends2(self):
pass
def test_example_no_depends(self):
pass
Richard, These test don't to a whole lot. The skip is supposed to skip. I think this as little value. Richard, These test don't do a whole lot. The skip is supposed to skip. It is a small set of tests but there are a few good things in there such as dependency testing. https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?id=c1169d514e7179a41ed59a321cc3f34bd1e8a61a |