[oe-commits] Paul Eggleton : oeqa/selftest: populate pkgdata/ shlibs in test_recipetool_create_git

git at git.openembedded.org git at git.openembedded.org
Thu Dec 25 08:28:55 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 67bf1dac68d76c7e6a4d95e5bdd1eba468331f01
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=67bf1dac68d76c7e6a4d95e5bdd1eba468331f01

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Tue Dec 23 15:20:24 2014 +0000

oeqa/selftest: populate pkgdata/shlibs in test_recipetool_create_git

Build some recipes so that we have the needed data in the sysroot for
recipetool to refer to when scanning for dependencies.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>

---

 meta/lib/oeqa/selftest/devtool.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index e158ad9..74fb325 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -66,6 +66,8 @@ class DevtoolTests(oeSelfTest):
         self.assertEqual(checkvars, {}, 'Some variables not found')
 
     def test_recipetool_create_git(self):
+        # Ensure we have the right data in shlibs/pkgdata
+        bitbake('libpng pango libx11 libxext')
         # Try adding a recipe
         tempdir = tempfile.mkdtemp(prefix='devtoolqa')
         self.track_for_cleanup(tempdir)



More information about the Openembedded-commits mailing list