diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/recipetool.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index 947d8eecf1..70ee634c71 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
@@ -51,7 +51,7 @@ class DevtoolBase(oeSelfTest): | |||
51 | bbappendfile = bbappend | 51 | bbappendfile = bbappend |
52 | break | 52 | break |
53 | else: | 53 | else: |
54 | self.assertTrue(False, 'bbappend for recipe %s does not seem to be created in test layer' % testrecipe) | 54 | self.fail('bbappend for recipe %s does not seem to be created in test layer' % testrecipe) |
55 | return bbappendfile | 55 | return bbappendfile |
56 | 56 | ||
57 | def _create_temp_layer(self, templayerdir, addlayer, templayername, priority=999, recipepathspec='recipes-*/*'): | 57 | def _create_temp_layer(self, templayerdir, addlayer, templayername, priority=999, recipepathspec='recipes-*/*'): |
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py index 689d41b740..c34ad68870 100644 --- a/meta/lib/oeqa/selftest/recipetool.py +++ b/meta/lib/oeqa/selftest/recipetool.py | |||
@@ -282,7 +282,7 @@ class RecipetoolTests(RecipetoolBase): | |||
282 | self.assertIn('add-file.patch', line, 'Unexpected warning found in output:\n%s' % line) | 282 | self.assertIn('add-file.patch', line, 'Unexpected warning found in output:\n%s' % line) |
283 | break | 283 | break |
284 | else: | 284 | else: |
285 | self.assertTrue(False, 'Patch warning not found in output:\n%s' % output) | 285 | self.fail('Patch warning not found in output:\n%s' % output) |
286 | 286 | ||
287 | @testcase(1188) | 287 | @testcase(1188) |
288 | def test_recipetool_appendfile_script(self): | 288 | def test_recipetool_appendfile_script(self): |
@@ -351,7 +351,7 @@ class RecipetoolTests(RecipetoolBase): | |||
351 | bbappendfile = f | 351 | bbappendfile = f |
352 | break | 352 | break |
353 | if not bbappendfile: | 353 | if not bbappendfile: |
354 | self.assertTrue(False, 'No bbappend file created') | 354 | self.fail('No bbappend file created') |
355 | runCmd('rm -rf %s/recipes-*' % self.templayerdir) | 355 | runCmd('rm -rf %s/recipes-*' % self.templayerdir) |
356 | return bbappendfile | 356 | return bbappendfile |
357 | 357 | ||