summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/bbtests.py
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-02 23:09:22 +0100
commit6a276318af32d239a3d419089055b7b8e4fd6ea5 (patch)
treee2c12e2a01128cbc899fe2a302e0720fc6f5c6d2 /meta/lib/oeqa/selftest/cases/bbtests.py
parent089b8d3e7e36a01c85eeeb0456ec3bb42feced5a (diff)
downloadpoky-6a276318af32d239a3d419089055b7b8e4fd6ea5.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: d19873b6b5d0068f857a8f9f3686729ba4e67f0f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/bbtests.py')
-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 8831de6065..6562364074 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']