diff options
author | Ross Burton <ross@burtonini.com> | 2022-03-31 19:29:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-01 23:11:38 +0100 |
commit | c4436040eb27afbbf602679e66c23a973279e3a7 (patch) | |
tree | 2a5eca5c2dbe54338b11afd436357ab054903ca7 /scripts/lib/devtool/build_image.py | |
parent | 12a1456b060a970a1b2157ef64abe0751d6804b9 (diff) | |
download | poky-c4436040eb27afbbf602679e66c23a973279e3a7.tar.gz |
oeqa/selftest/wic: use self.td instead of get_bb_var to save on bitbake calls
When a test case starts, self.td is populated with all the variables in
the data store. Typically this can be used instead of get_bb_var(),
which saves a bitbake call per variable lookup.
The only catch is that in parallel runs the build directory is moved
after td is populated, so paths in the build directory are wrong: these
still need to be fetched in the test.
(From OE-Core rev: 884201c6c1bbf7c1b958bab7d7c91e27577eeaac)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_image.py')
0 files changed, 0 insertions, 0 deletions