Bug 13677

Summary: We never run "oe-test core" anywhere in the test infrastructure
Product: [QA/Testing] Functional (self) Testing Reporter: Richard Purdie <richard.purdie>
Component: generalAssignee: 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
We should be running "oe-test core" somewhere in the test infrastructure. Some of the tests there may need fixing.
Comment 1 Armin Kuster 2019-12-05 16:19:58 UTC
there is an autobuilder component with this
Comment 2 Armin Kuster 2019-12-05 16:34:58 UTC
 RESULTS - test_basic.OETestExampleDepend.test_example_depends: SKIPPED (0.00s)
Comment 3 Armin Kuster 2019-12-05 17:33:18 UTC
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
Comment 4 Armin Kuster 2019-12-05 17:54:02 UTC
Richard,

These test don't to a whole lot.  The skip is supposed to skip.
Comment 5 akuster 2020-06-27 11:03:53 UTC
I think this as little value.
Comment 6 akuster 2021-04-15 15:05:49 UTC
Richard,

These test don't do a whole lot.  The skip is supposed to skip.
Comment 7 Richard Purdie 2022-06-11 10:16:33 UTC
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