[oe-commits] [openembedded-core] 29/44: oeqa/runtime/cases/selftest.py: rename to _selftest.py

git at git.openembedded.org git at git.openembedded.org
Sun Jun 3 16:16:43 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b5352749894734e26712565cac120f19078f18c9
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Fri Jun 1 13:03:03 2018 +0800

    oeqa/runtime/cases/selftest.py: rename to _selftest.py
    
    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 at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta-selftest/lib/oeqa/runtime/cases/{selftest.py => _selftest.py} | 0
 meta/lib/oeqa/selftest/cases/runtime_test.py                       | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-selftest/lib/oeqa/runtime/cases/selftest.py b/meta-selftest/lib/oeqa/runtime/cases/_selftest.py
similarity index 100%
rename from meta-selftest/lib/oeqa/runtime/cases/selftest.py
rename to meta-selftest/lib/oeqa/runtime/cases/_selftest.py
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 9c9b4b3..def3819 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -122,7 +122,7 @@ class TestImage(OESelftestTestCase):
             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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list