summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-07-31 10:31:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 07:34:04 +0100
commit93360e8a1c0657542bb0536ad0281389d89b2d5d (patch)
tree6add0dd9f3a8500c5cf1db192f9973b056fd690f /meta/lib
parent9a672bd5690a519696a6542fc97f8e4e67c7f8cf (diff)
downloadpoky-93360e8a1c0657542bb0536ad0281389d89b2d5d.tar.gz
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]. (From OE-Core rev: fb0e372bed321998d12460282ad8b30203a871a9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/devtool.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index c833e5439c..b59db15be4 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -170,7 +170,6 @@ class DevtoolTests(DevtoolBase):
170 bitbake('libftdi -c cleansstate') 170 bitbake('libftdi -c cleansstate')
171 # Test devtool build 171 # Test devtool build
172 result = runCmd('devtool build libftdi') 172 result = runCmd('devtool build libftdi')
173 self.add_command_to_tearDown('bitbake -c cleansstate libftdi')
174 staging_libdir = get_bb_var('STAGING_LIBDIR', 'libftdi') 173 staging_libdir = get_bb_var('STAGING_LIBDIR', 'libftdi')
175 self.assertTrue(staging_libdir, 'Could not query STAGING_LIBDIR variable') 174 self.assertTrue(staging_libdir, 'Could not query STAGING_LIBDIR variable')
176 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) 175 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)