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:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-04 11:16:43 +0100
commitbd36a1ac260e4f49c47c0081a2820b626dee050b (patch)
tree70e6595df590ce9113d07b7101be7458dc809e54 /bitbake/lib/bb/tests/parse.py
parent791bf5a43dabd8232e4f2e8ef9ded13a7d959400 (diff)
downloadpoky-bd36a1ac260e4f49c47c0081a2820b626dee050b.tar.gz
bitbake: parse: Make include_all raise a parse error for absolute paths
It makes no sense to use an absolute path with include_all. (Bitbake rev: a39d1d5df740824d40c4d8e7f4199ccc518592e0) 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 2f77c90f60..d6bc5a38bf 100644
--- a/bitbake/lib/bb/tests/parse.py
+++ b/bitbake/lib/bb/tests/parse.py
@@ -500,6 +500,7 @@ EXTRA_OECONF:append = " foobar"
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 test_helper("include_all ${@''}", None)
503 test_helper("include_all " + tempdir + "/conf2/some.conf", bb.parse.ParseError)
503 504
504 self.d.setVar("BBPATH", tempdir + "/conf2" + ":" + tempdir + "/conf1") 505 self.d.setVar("BBPATH", tempdir + "/conf2" + ":" + tempdir + "/conf1")
505 506