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>
This commit is contained in:
Paul Eggleton 2015-07-31 10:31:35 +01:00 committed by Richard Purdie
parent 9a672bd569
commit 93360e8a1c
1 changed files with 0 additions and 1 deletions

View File

@ -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)