diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-26 17:03:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-27 22:13:11 +0000 |
commit | ff60dc33becb383244338fdcff4bb90867c4e06e (patch) | |
tree | df0630921b2ae0efd74c77820704f3da00ce61f3 | |
parent | 0c1e13ca441b74eb4693ddfee91ed59cc9cc66ba (diff) | |
download | poky-ff60dc33becb383244338fdcff4bb90867c4e06e.tar.gz |
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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/selftest/cases/signing.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/cases/signing.py b/meta/lib/oeqa/selftest/cases/signing.py index 76c587a5c2..4fa99acbc9 100644 --- a/meta/lib/oeqa/selftest/cases/signing.py +++ b/meta/lib/oeqa/selftest/cases/signing.py | |||
@@ -153,10 +153,10 @@ class Signing(OESelftestTestCase): | |||
153 | self.add_command_to_tearDown('rm -rf %s' % builddir) | 153 | self.add_command_to_tearDown('rm -rf %s' % builddir) |
154 | 154 | ||
155 | bitbake('-c clean %s' % test_recipe) | 155 | bitbake('-c clean %s' % test_recipe) |
156 | bitbake(test_recipe) | 156 | bitbake('-c populate_lic %s' % test_recipe) |
157 | 157 | ||
158 | recipe_sig = glob.glob(sstatedir + '/*/*:ed:*_package.tgz.sig') | 158 | recipe_sig = glob.glob(sstatedir + '/*/*:ed:*_populate_lic.tgz.sig') |
159 | recipe_tgz = glob.glob(sstatedir + '/*/*:ed:*_package.tgz') | 159 | recipe_tgz = glob.glob(sstatedir + '/*/*:ed:*_populate_lic.tgz') |
160 | 160 | ||
161 | self.assertEqual(len(recipe_sig), 1, 'Failed to find .sig file.') | 161 | self.assertEqual(len(recipe_sig), 1, 'Failed to find .sig file.') |
162 | self.assertEqual(len(recipe_tgz), 1, 'Failed to find .tgz file.') | 162 | self.assertEqual(len(recipe_tgz), 1, 'Failed to find .tgz file.') |