This test modules is designed to be invoked only by selftest. It's
not meant to be tested by normal runtime test. So it should be renamed
with '_' prefix, so that it will not be automatically loaded by normal
runtime tests when 'auto' is in TEST_SUITES.
The failure message is as below.
RESULTS - selftest.Selftest.test_install_package - Testcase -1: FAILED
Also, change selftest/cases/runtime_test.py to use '_selftest' accordingly.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
fix _selftest
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(status, output) = self.target.run("socat -V")
self.assertEqual(status, 0, msg="socat is not installed")
- @OETestDepends(['selftest.Selftest.test_install_package'])
+ @OETestDepends(['_selftest.Selftest.test_install_package'])
def test_verify_uninstall(self):
"""
Summary: Check basic package installation functionality.
self.skipTest('core-image-full-cmdline not buildable for poky-tiny')
features = 'INHERIT += "testimage"\n'
- features += 'TEST_SUITES = "ping ssh selftest"\n'
+ features += 'TEST_SUITES = "ping ssh _selftest"\n'
self.write_config(features)
# Build core-image-sato and testimage