summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-01 13:25:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-29 11:17:20 +0100
commit95e08b14df152d299af4185e5c9841c7edc9eac2 (patch)
treea0ddad285ee9b90ce7f7c3b9f38842ead6be4177 /meta
parent4342a32810a7ef43915a94266ac6b42c54ebf94f (diff)
downloadpoky-95e08b14df152d299af4185e5c9841c7edc9eac2.tar.gz
oeqa/selftest/bbtests: Add uuid to force build test
With hash equivalence working properly, this test breaks as it detects an unchanged tasks and doesn't rerun subsequent tasks. Add a uuid to the payload to ensure it doesn't ever match equivalence and the test works as intended. (From OE-Core rev: 56f1fc08242a07967249fff9f537ea5d3cd0da56) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d19873b6b5d0068f857a8f9f3686729ba4e67f0f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/cases/bbtests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py
index 79390acc0d..b932d5276b 100644
--- a/meta/lib/oeqa/selftest/cases/bbtests.py
+++ b/meta/lib/oeqa/selftest/cases/bbtests.py
@@ -83,8 +83,10 @@ class BitbakeTests(OESelftestTestCase):
83 83
84 def test_force_task_1(self): 84 def test_force_task_1(self):
85 # test 1 from bug 5875 85 # test 1 from bug 5875
86 import uuid
86 test_recipe = 'zlib' 87 test_recipe = 'zlib'
87 test_data = "Microsoft Made No Profit From Anyone's Zunes Yo" 88 # Need to use uuid otherwise hash equivlance would change the workflow
89 test_data = "Microsoft Made No Profit From Anyone's Zunes Yo %s" % uuid.uuid1()
88 bb_vars = get_bb_vars(['D', 'PKGDEST', 'mandir'], test_recipe) 90 bb_vars = get_bb_vars(['D', 'PKGDEST', 'mandir'], test_recipe)
89 image_dir = bb_vars['D'] 91 image_dir = bb_vars['D']
90 pkgsplit_dir = bb_vars['PKGDEST'] 92 pkgsplit_dir = bb_vars['PKGDEST']