diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-05 18:00:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-07 17:27:51 +0000 |
commit | 4d161405d5fdf53e28a5a4f74a0c5c53ef14180e (patch) | |
tree | c5b413d9c7f460a78ed787a6735181402c5bf401 /meta/classes-recipe | |
parent | b49d42ce90f0f910b6a4ec3a5ba26eccc543076c (diff) | |
download | poky-4d161405d5fdf53e28a5a4f74a0c5c53ef14180e.tar.gz |
oeqa/runtime/login: Various code improvements and fixes
* Allow tools to be found from the host PATH so that imagemagick from a buildtools
tarball/sdk can work
* Reformat the code to have imports at the start of the file and have more standard
formatting and whitespace
* Always save copies of the images, the space imapct is negligle compared to the
debug win
* Write the images to ${T}
* Use bb.utils.mkdirhier() instead of more complex code
* Restrict the tests to images containing matchbox-desktop
(From OE-Core rev: d09989b49517830297654e4d1d150aaa8723c41a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/testimage.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index ad040ee8f0..ed0d87b7a7 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass | |||
@@ -221,6 +221,7 @@ def testimage_main(d): | |||
221 | # ones of the current environment because some tests require them. | 221 | # ones of the current environment because some tests require them. |
222 | for var in d.getVar('TESTIMAGE_UPDATE_VARS').split(): | 222 | for var in d.getVar('TESTIMAGE_UPDATE_VARS').split(): |
223 | td[var] = d.getVar(var) | 223 | td[var] = d.getVar(var) |
224 | td['ORIGPATH'] = d.getVar("BB_ORIGENV").getVar("PATH") | ||
224 | 225 | ||
225 | image_manifest = "%s.manifest" % image_name | 226 | image_manifest = "%s.manifest" % image_name |
226 | image_packages = OERuntimeTestContextExecutor.readPackagesManifest(image_manifest) | 227 | image_packages = OERuntimeTestContextExecutor.readPackagesManifest(image_manifest) |