poky/meta/lib/oeqa/utils
Ross Burton 55c4f54106 oeqa/utils/command: fast-path get_bb_var()
get_bb_var() currently end up calling 'bitbake -e' and parsing the whole
output. However if postconfig isn't set then we can speed this up by
just calling bitbake-getvar.

The complication with failing bitbake-getvar calls is because we need to
be careful to return None instead of the empty string when the variable
doesn't exist.

(From OE-Core rev: fafe77879aa6225aa8b5187ff590bb4998cbf987)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:52:28 +01:00
..
__init__.py oeqa/postactions: Separate artefact collection from test result collection 2024-07-18 17:21:39 +01:00
buildproject.py oeqa/buildproject: Ensure temp directories are cleaned up 2021-09-26 16:35:00 +01:00
commands.py oeqa/utils/command: fast-path get_bb_var() 2025-06-20 09:52:28 +01:00
decorators.py oeqa/utils/decorators: Drop getResults 2022-09-17 07:47:07 +01:00
dump.py testimage/oeqa: Drop testimage_dump_host functionality 2023-06-29 10:57:27 +01:00
ftools.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
git.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
gitarchive.py oeqa/gitarchive: Fix syntax warning 2024-12-05 17:07:10 +00:00
httpserver.py httpserver: add error handler that write to the logger 2023-02-01 14:05:15 +00:00
logparser.py oeqa/ltp: rewrote LTP testcase and parser 2023-07-21 11:52:26 +01:00
metadata.py lib/oeqa/metadata: Add commit_time to branch metadata being saved 2025-02-09 22:23:30 +00:00
network.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
nfs.py oeqa/utils/nfs: allow requesting non-udp ports 2023-07-26 20:51:00 +01:00
package_manager.py lib: Add copyright statements to files without one 2022-08-12 12:00:43 +01:00
postactions.py qemu/testimage: Ensure GNU tar is in test images 2024-11-21 12:16:28 +00:00
qemurunner.py qemurunner: Fix a bug with fork/exit handling 2025-03-03 18:01:30 +00:00
qemutinyrunner.py oeqa/runqemu: Support RUNQEMU_TMPFS_DIR as a location to copy snapshot images to 2021-04-06 09:30:10 +01:00
sshcontrol.py lib/oeqa/utils/sshcontrol: correct condition for ending the select() loop 2025-06-09 17:43:41 +01:00
subprocesstweak.py lib/oeqa/subprocesstweak: clean up __str__() 2025-06-05 11:02:22 +01:00
targetbuild.py oeqa/buildproject: Ensure temp directories are cleaned up 2021-09-26 16:35:00 +01:00
testexport.py rpm: replace use of rpm2cpio with rpm2archive 2024-12-12 13:22:08 +00:00