[oe-commits] Paul Eggleton : oe-selftest: devtool: fix teardown warning in test_devtool_update_recipe_append

git at git.openembedded.org git at git.openembedded.org
Fri Jul 31 09:44:17 UTC 2015


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

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Fri Jul 31 10:31:35 2015 +0100

oe-selftest: devtool: fix teardown warning in test_devtool_update_recipe_append

We don't need to run bitbake -c cleansstate on this because it's being
cleaned out as part of "devtool reset".

Addresses [YOCTO #8031].

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oeqa/selftest/devtool.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index c833e54..b59db15 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -170,7 +170,6 @@ class DevtoolTests(DevtoolBase):
         bitbake('libftdi -c cleansstate')
         # Test devtool build
         result = runCmd('devtool build libftdi')
-        self.add_command_to_tearDown('bitbake -c cleansstate libftdi')
         staging_libdir = get_bb_var('STAGING_LIBDIR', 'libftdi')
         self.assertTrue(staging_libdir, 'Could not query STAGING_LIBDIR variable')
         self.assertTrue(os.path.isfile(os.path.join(staging_libdir, 'libftdi1.so.2.1.0')), "libftdi binary not found in STAGING_LIBDIR. Output of devtool build libftdi %s" % result.output)



More information about the Openembedded-commits mailing list