summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-12 22:34:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-12 22:34:56 +0000
commit55a1e521952063ca999846de2e9fdea949c64cfd (patch)
treed0dd75b605a6bc62ae37f0a16e2a0171552c283d
parent637b3c82597e5c021170e9e835420f10497e26e0 (diff)
downloadopenembedded-core-contrib-55a1e521952063ca999846de2e9fdea949c64cfd.tar.gz
openembedded-core-contrib-55a1e521952063ca999846de2e9fdea949c64cfd.tar.bz2
openembedded-core-contrib-55a1e521952063ca999846de2e9fdea949c64cfd.zip
oeqa/recipetool: Improve debugging output by adding dirlist
(From OE-Core rev: f7b38ec43a1090ff2c56f26fe19637fba2b1a996) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/recipetool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py
index b4d33bc35d..50757035fa 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -411,7 +411,7 @@ class RecipetoolTests(RecipetoolBase):
result = runCmd('recipetool create %s -o %s' % (srcuri, temprecipe))
dirlist = os.listdir(temprecipe)
if len(dirlist) < 1 or not os.path.isfile(os.path.join(temprecipe, dirlist[0])):
- self.fail('recipetool did not create recipe file; output:\n%s' % result.output)
+ self.fail('recipetool did not create recipe file; output:\n%s\ndirlist:\n%s' % (result.output, str(dirlist))
self.assertEqual(dirlist[0], 'socat_%s.bb' % pv, 'Recipe file incorrectly named')
checkvars = {}
checkvars['LICENSE'] = set(['Unknown', 'GPLv2'])