]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest: Apply patch to fix cpio build with -fno-common
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Aug 2020 22:18:08 +0000 (15:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Aug 2020 13:33:50 +0000 (14:33 +0100)
Patch a combined effort from Khem/RP, need to add$CONFIGURE_FLAGS
to ensure tests still work.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/meta_ide.py

index 809142559a82f6c15d132e5881659ae432542b44..6f10d30dc9c20d4850b40c49c4d9d7c89161a1a6 100644 (file)
@@ -43,7 +43,7 @@ class MetaIDE(OESelftestTestCase):
                         "https://ftp.gnu.org/gnu/cpio/cpio-2.13.tar.gz",
                         self.tmpdir_metaideQA, self.td['DATETIME'], dl_dir=dl_dir)
         self.project.download_archive()
-        self.assertEqual(self.project.run_configure(), 0,
+        self.assertEqual(self.project.run_configure('$CONFIGURE_FLAGS --disable-maintainer-mode','sed -i -e "/char \*program_name/d" src/global.c;'), 0,
                         msg="Running configure failed")
         self.assertEqual(self.project.run_make(), 0,
                         msg="Running make failed")