mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
oeqa/selftest/signing: Use do_populate_lic target instead of do_package
This should speed the test up signficiantly without any loss of functionality for the purposes of the test. (From OE-Core rev: 3dde0b749643575878bfbca2f8d2d9ec30bad166) (From OE-Core rev: 51989db2d9eebd9f190994109c2932dac3f3034b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -153,10 +153,10 @@ class Signing(OESelftestTestCase):
|
||||
self.add_command_to_tearDown('rm -rf %s' % builddir)
|
||||
|
||||
bitbake('-c clean %s' % test_recipe)
|
||||
bitbake(test_recipe)
|
||||
bitbake('-c populate_lic %s' % test_recipe)
|
||||
|
||||
recipe_sig = glob.glob(sstatedir + '/*/*:ed:*_package.tgz.sig')
|
||||
recipe_tgz = glob.glob(sstatedir + '/*/*:ed:*_package.tgz')
|
||||
recipe_sig = glob.glob(sstatedir + '/*/*:ed:*_populate_lic.tgz.sig')
|
||||
recipe_tgz = glob.glob(sstatedir + '/*/*:ed:*_populate_lic.tgz')
|
||||
|
||||
self.assertEqual(len(recipe_sig), 1, 'Failed to find .sig file.')
|
||||
self.assertEqual(len(recipe_tgz), 1, 'Failed to find .tgz file.')
|
||||
|
||||
Reference in New Issue
Block a user