From: André Draszik Date: Fri, 6 Oct 2017 12:12:48 +0000 (+0100) Subject: selftest/archiver: only execute deploy_archives task X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=89a00238c45b0457bdf7add3629124901bc72f4b;p=openembedded-core.git selftest/archiver: only execute deploy_archives task There should be no reason to execute a full build, as we're just interested in the deployment of the archives. The newly added tests already do the same. Signed-off-by: André Draszik Signed-off-by: Ross Burton (cherry picked from commit 78c2897dff7cd9fe2cab511549cb146d5231e573) Signed-off-by: André Draszik Signed-off-by: Armin Kuster --- diff --git a/meta/lib/oeqa/selftest/archiver.py b/meta/lib/oeqa/selftest/archiver.py index 06b2597050..7f01c36d4e 100644 --- a/meta/lib/oeqa/selftest/archiver.py +++ b/meta/lib/oeqa/selftest/archiver.py @@ -29,7 +29,7 @@ class Archiver(oeSelfTest): self.write_config(features) bitbake('-c clean %s %s' % (include_recipe, exclude_recipe)) - bitbake("%s %s" % (include_recipe, exclude_recipe)) + bitbake("-c deploy_archives %s %s" % (include_recipe, exclude_recipe)) bb_vars = get_bb_vars(['DEPLOY_DIR_SRC', 'TARGET_SYS']) src_path = os.path.join(bb_vars['DEPLOY_DIR_SRC'], bb_vars['TARGET_SYS'])