summaryrefslogtreecommitdiffstats
path: root/meta/lib
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 /meta/lib
parent637b3c82597e5c021170e9e835420f10497e26e0 (diff)
downloadpoky-55a1e521952063ca999846de2e9fdea949c64cfd.tar.gz
oeqa/recipetool: Improve debugging output by adding dirlist
(From OE-Core rev: f7b38ec43a1090ff2c56f26fe19637fba2b1a996) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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):
411 result = runCmd('recipetool create %s -o %s' % (srcuri, temprecipe)) 411 result = runCmd('recipetool create %s -o %s' % (srcuri, temprecipe))
412 dirlist = os.listdir(temprecipe) 412 dirlist = os.listdir(temprecipe)
413 if len(dirlist) < 1 or not os.path.isfile(os.path.join(temprecipe, dirlist[0])): 413 if len(dirlist) < 1 or not os.path.isfile(os.path.join(temprecipe, dirlist[0])):
414 self.fail('recipetool did not create recipe file; output:\n%s' % result.output) 414 self.fail('recipetool did not create recipe file; output:\n%s\ndirlist:\n%s' % (result.output, str(dirlist))
415 self.assertEqual(dirlist[0], 'socat_%s.bb' % pv, 'Recipe file incorrectly named') 415 self.assertEqual(dirlist[0], 'socat_%s.bb' % pv, 'Recipe file incorrectly named')
416 checkvars = {} 416 checkvars = {}
417 checkvars['LICENSE'] = set(['Unknown', 'GPLv2']) 417 checkvars['LICENSE'] = set(['Unknown', 'GPLv2'])