summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/lib/oeqa/selftest/cases/systemd_boot.py
Commit message (Collapse)AuthorAgeFilesLines
* oeqa/systemd_boot: Drop OETestIDRichard Purdie2019-05-201-3/+0
| | | | | | | | | | Matching changes in OE-Core. drop OETestID. (From meta-yocto rev: 783d6663bb1449b4db1ec23975782a311bd83e77) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/systemdboot: Cleanup/improve the testRichard Purdie2018-08-071-43/+18
| | | | | | | | | | | | | | | | | | | | The second test is designed only to run after the first so we may as well merge these together into one. Also, use DEPLOY_DIR_IMAGE rather than constructing paths by hand. Drop the misleading comment which was likely due to the original code reading DEPLOY_DIR_IMAGE before setting MACHINE. Only read the variable once which reduces bitbake -e calls. Merge the setup/build functions into the main test as there is no other use of them. Also ensure the main second test pieces aren't masked out by a missing file without showing test failures. (From meta-yocto rev: 1b46e2c1acd2c0cd557740220bbc3ccb77dae127) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/systemd_boot: Never use cleansstate in QA tests without ↵Richard Purdie2018-07-151-1/+1
| | | | | | | | | | | | | | | special handling of SSTATE_DIR Removing things straight from the live sstate directory is prone to issues since other builds may be relying on the artefact presence. Also, cleansstate is very slow on the huge sstate that the autobuilder has on slow NFS drives. This may well be causing long buildtimes in oe-selftest as the time taken to remove the artefact by be long. (From meta-yocto rev: 1ed60bfb46569a8b8c29f24187390ba79686486a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/systemdboot: Add Test to check boot file is created correctlyJose Perez Carranza2017-06-231-4/+50
| | | | | | | | | | | | | Add Test case to verify if EFI bootloader for systemd boot is correctly build inside of image. [YOCTO #9903] (From meta-yocto rev: ce060ee09d00d737007f4a0569e13bebbcde0b3f) Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest: Migrate systemd_boot test case to the new frameworkAníbal Limón2017-06-061-0/+52
- systemd_boot.py: Use the new case class and change decorator for id - __init__.py: Because isn't needed now (From meta-yocto rev: 59b2135007d80b3b76ef1256bf5d5aa6076178bc) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>