summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-08 16:44:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-09 10:04:12 +0000
commitb32dbb3747baaecaa5748af619a3a3e911ec64ee (patch)
tree6c11b1db870ef1244624472c8c30af9ea6b349c3
parent4d14176aa69d5e39a3cef01f6741ac0f2a2080ee (diff)
downloadpoky-b32dbb3747baaecaa5748af619a3a3e911ec64ee.tar.gz
bitbake: toaster/tests/builds: Add BB_HASHSERVE passthrough
As well as BB_HASHSERVE_UPSTREAM, ensure BB_HASHSERVE is passed through to allow sstate resuse on the autobuilder. (Bitbake rev: f18a647d998670cc37a8832cb36ffe03da43d1c5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/tests/builds/buildtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/builds/buildtest.py b/bitbake/lib/toaster/tests/builds/buildtest.py
index bec933124c..cacfccd4d3 100644
--- a/bitbake/lib/toaster/tests/builds/buildtest.py
+++ b/bitbake/lib/toaster/tests/builds/buildtest.py
@@ -116,7 +116,7 @@ class BuildTest(unittest.TestCase):
116 project = Project.objects.create_project(name=BuildTest.PROJECT_NAME, 116 project = Project.objects.create_project(name=BuildTest.PROJECT_NAME,
117 release=release) 117 release=release)
118 118
119 passthrough_variable_names = ["SSTATE_DIR", "DL_DIR", "SSTATE_MIRRORS", "BB_HASHSERVE_UPSTREAM"] 119 passthrough_variable_names = ["SSTATE_DIR", "DL_DIR", "SSTATE_MIRRORS", "BB_HASHSERVE", "BB_HASHSERVE_UPSTREAM"]
120 for variable_name in passthrough_variable_names: 120 for variable_name in passthrough_variable_names:
121 current_variable = os.environ.get(variable_name) 121 current_variable = os.environ.get(variable_name)
122 if current_variable: 122 if current_variable: