summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/recipetool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py
index 08ff4f14e0..12c6b255ea 100644
--- a/meta/lib/oeqa/selftest/recipetool.py
+++ b/meta/lib/oeqa/selftest/recipetool.py
@@ -50,7 +50,7 @@ class RecipetoolTests(DevtoolBase):
50 bbappendfile = self._check_bbappend(testrecipe, recipefile, templayerdir) 50 bbappendfile = self._check_bbappend(testrecipe, recipefile, templayerdir)
51 # Check the bbappend contents 51 # Check the bbappend contents
52 with open(bbappendfile, 'r') as f: 52 with open(bbappendfile, 'r') as f:
53 self.assertEqual(expectedlines, f.readlines()) 53 self.assertEqual(expectedlines, f.readlines(), "Expected lines are not present in %s" % bbappendfile)
54 # Check file was copied 54 # Check file was copied
55 filesdir = os.path.join(os.path.dirname(bbappendfile), testrecipe) 55 filesdir = os.path.join(os.path.dirname(bbappendfile), testrecipe)
56 for expectedfile in expectedfiles: 56 for expectedfile in expectedfiles:
@@ -109,7 +109,7 @@ class RecipetoolTests(DevtoolBase):
109 # But file should have 109 # But file should have
110 copiedfile = os.path.join(os.path.dirname(bbappendfile), 'coreutils', testfile2name) 110 copiedfile = os.path.join(os.path.dirname(bbappendfile), 'coreutils', testfile2name)
111 result = runCmd('diff -q %s %s' % (testfile2, copiedfile), ignore_status=True) 111 result = runCmd('diff -q %s %s' % (testfile2, copiedfile), ignore_status=True)
112 self.assertNotEqual(result.status, 0, 'New file should have been copied but was not') 112 self.assertNotEqual(result.status, 0, 'New file should have been copied but was not %s' % result.output)
113 113
114 @testcase(1178) 114 @testcase(1178)
115 def test_recipetool_appendfile_binary(self): 115 def test_recipetool_appendfile_binary(self):