summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/parse.py
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2025-09-16 23:19:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-06 17:01:09 +0100
commite99ec6a90846a0c7530bf6e43b3af32ba54dec4c (patch)
treec564eac2d3126abfa7c3dd060b6c536031c057e5 /bitbake/lib/bb/tests/parse.py
parenta7c8099fec5aa361523c66065c0c50d44e4372b6 (diff)
downloadpoky-e99ec6a90846a0c7530bf6e43b3af32ba54dec4c.tar.gz
bitbake: parse: Make include_all support empty variable expansions
include and require support empty variable expansions, typically used with conditional expansions. However, include_all does not, and instead reports an error for the first path in BBPATH. Rewrite include_all so that its behavior matches include and require. (Bitbake rev: 010928ceac48b20e6ab530f8e256b72201b778ec) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/parse.py')
-rw-r--r--bitbake/lib/bb/tests/parse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/parse.py b/bitbake/lib/bb/tests/parse.py
index d3867ece98..2f77c90f60 100644
--- a/bitbake/lib/bb/tests/parse.py
+++ b/bitbake/lib/bb/tests/parse.py
@@ -499,6 +499,7 @@ EXTRA_OECONF:append = " foobar"
499 test_helper("include_all some.conf", " foo bar") 499 test_helper("include_all some.conf", " foo bar")
500 test_helper("include_all someother.conf", None) 500 test_helper("include_all someother.conf", None)
501 test_helper("include_all some3.conf", " foobar") 501 test_helper("include_all some3.conf", " foobar")
502 test_helper("include_all ${@''}", None)
502 503
503 self.d.setVar("BBPATH", tempdir + "/conf2" + ":" + tempdir + "/conf1") 504 self.d.setVar("BBPATH", tempdir + "/conf2" + ":" + tempdir + "/conf1")
504 505