[oe-commits] [openembedded-core] 25/68: testimage.bbclass: also check 'auto' to create rpm index

git at git.openembedded.org git at git.openembedded.org
Mon Jul 2 10:46:47 UTC 2018


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

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

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

    testimage.bbclass: also check 'auto' to create rpm index
    
    Having 'auto' in TEST_SUITES will also run the 'dnf' test cases,
    so also check it to determine whether to create rpm index or not.
    
    This is to fix the following error when TEST_SUITES = "auto".
    
      RESULTS - dnf.DnfRepoTest.test_dnf_makecache - Testcase 1744: ERROR
    
    (From OE-Core rev: c1f4177848d25a9121f2a85da655ee414cd424b1)
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/testimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index e67647a..fd744c7 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -121,7 +121,7 @@ python do_testimage() {
     testimage_sanity(d)
 
     if (d.getVar('IMAGE_PKGTYPE') == 'rpm'
-       and 'dnf' in d.getVar('TEST_SUITES')):
+       and ('dnf' in d.getVar('TEST_SUITES') or 'auto' in d.getVar('TEST_SUITES'))):
         create_rpm_index(d)
 
     testimage_main(d)

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


More information about the Openembedded-commits mailing list