Bug 13677 - We never run "oe-test core" anywhere in the test infrastructure
Summary: We never run "oe-test core" anywhere in the test infrastructure
Status: RESOLVED FIXED
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: NEEDINFO
Depends on:
Blocks:
 
Reported: 2019-12-04 17:40 UTC by Richard Purdie
Modified: 2022-06-11 10:16 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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