]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/runtime/login: Various code improvements and fixes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Mar 2024 18:00:10 +0000 (18:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Mar 2024 12:09:58 +0000 (12:09 +0000)
commitd09989b49517830297654e4d1d150aaa8723c41a
tree997c5b46f23a3c6c80207c71ad05c55fb8c4cfd7
parentdc7cefbaccde50df6c4396e66d50659a45e00631
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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/testimage.bbclass
meta/lib/oeqa/runtime/cases/login.py