poky/meta-selftest/recipes-test
Hongxu Jia 2768d6f676 wic-image-minimal, oeqa/selftest/wic: run 'wic ls/cp/rm' in bitbake task
Due to commit [2255f28b57 wic: add WIC_SECTOR_SIZE variable][1] applied,
call `wic ls|cp|rm|write' in bitbake task will hung, but we have no scenario
case to cover it

After commit [scripts/wic: fix calling wic ls|cp|rm|write hung in bitbake task] applied,
this commit run `wic cp|ls|rm' in case wic.Wic2.test_wic_image_type and wic.Wic2.test_qemu,
at post function of with do_image_wic in image wic-image-minimal, and
check if file is there

$ echo 'SANITY_TESTED_DISTROS = ""' >> conf/local.conf
$ oe-selftest -r wic.Wic2.test_wic_image_type wic.Wic2.test_qemu
...
2025-06-23 15:46:22,157 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/hjia/poky/build-st/conf/local.conf
2025-06-23 15:46:22,157 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2025-06-23 15:46:22,157 - oe-selftest - INFO - test_qemu (wic.Wic2)
The variable 'TEST_RUNQEMUPARAMS' is not defined
2025-06-23 15:56:46,319 - oe-selftest - INFO -  ... ok
2025-06-23 15:56:46,324 - oe-selftest - INFO - test_wic_image_type (wic.Wic2)
2025-06-23 15:57:17,780 - oe-selftest - INFO -  ... ok
2025-06-23 15:57:17,781 - oe-selftest - INFO - ----------------------------------------------------------------------
2025-06-23 15:57:17,781 - oe-selftest - INFO - Ran 2 tests in 655.792s
2025-06-23 15:57:17,781 - oe-selftest - INFO - OK
2025-06-23 15:57:25,743 - oe-selftest - INFO - RESULTS:
2025-06-23 15:57:25,743 - oe-selftest - INFO - RESULTS - wic.Wic2.test_qemu: PASSED (624.16s)
2025-06-23 15:57:25,744 - oe-selftest - INFO - RESULTS - wic.Wic2.test_wic_image_type: PASSED (31.46s)
2025-06-23 15:57:25,746 - oe-selftest - INFO - SUMMARY:
2025-06-23 15:57:25,746 - oe-selftest - INFO - oe-selftest () - Ran 2 tests in 655.793s
2025-06-23 15:57:25,746 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=2, skipped=0, failures=0, errors=0)

(From OE-Core rev: 18d774eafb7fba720882fcdb945d145b82fa1dd4)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
..
aspell aspell: upgrade 0.60.8 -> 0.60.8.1 2024-01-01 23:11:42 +00:00
base-files oeqa: selftest: overlayfs: add test for image with fstab entry 2022-03-04 17:14:15 +00:00
bbclasses meta/meta-selftest: Fix variable assignment whitespace 2025-02-01 13:42:34 +00:00
binutils oeqa/selftest/ssate: Add test for find_siginfo 2023-08-09 13:23:33 +01:00
container-image selftest/container: fix IMAGE_FEATURES assignment 2024-11-06 12:18:05 +00:00
cpp meta: set S from UNPACKDIR in recipes that use only local files 2025-06-20 12:07:26 +01:00
delay oeqa/selftest/buildoptions: Ensure diskmon tests run consistently 2018-12-01 11:38:36 +00:00
devtool meta: remove consecutive blank lines 2025-06-20 12:07:27 +01:00
emptytest emptytest: exclude from world builds 2016-01-24 09:40:22 +00:00
error meta-selftest/error: Cleanup large trailing whitespace 2018-12-01 11:38:36 +00:00
ext-dtb oe-selftest: add new ext dtb recipe 2025-06-05 11:02:21 +01:00
fortran meta: set S from UNPACKDIR in recipes that use only local files 2025-06-20 12:07:26 +01:00
gcc-source selftest/sstatetests: add tests for 'bitbake -S printdiff' 2023-10-27 10:53:43 +01:00
git-submodule-test meta: remove consecutive blank lines 2025-06-20 12:07:27 +01:00
gitrepotest meta: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX 2025-06-20 12:07:26 +01:00
gitunpackoffline meta: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX 2025-06-20 12:07:26 +01:00
images wic-image-minimal, oeqa/selftest/wic: run 'wic ls/cp/rm' in bitbake task 2025-06-26 11:02:34 +01:00
license selftest/license: Exclude from world 2023-06-01 08:07:51 +01:00
logging-test oeqa/selftest/bblogging: Add logging tests for bb.build.exec_func with shell/python code 2022-02-21 21:53:52 +00:00
m4 m4: use wildcard for selftest bbappend 2017-02-15 20:06:44 -08:00
man-db selftest: add Upstream-Status to .patch files 2024-06-10 14:27:24 +01:00
multiconfig selftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME 2023-06-29 11:28:32 +01:00
nopackages selftest-nopackages: New recipe in meta-selftest 2020-06-09 13:13:59 +01:00
overlayfs-user overlayfs: add missing closing parenthesis in selftest 2024-02-06 10:32:19 +00:00
packagenameconflict oeqa/selftest/cases/package.py: adding unittest for package rename conflicts 2023-03-30 12:32:30 +01:00
perlcross selftest/sstatetests: fix up printdiff test to match rework of printdiff logic 2024-01-10 16:32:13 +00:00
poison oeqa/poisoning: fix gcc include poisoning test 2025-01-22 13:20:29 +00:00
postinst Convert to new override syntax 2021-08-02 15:44:10 +01:00
pseudo-pyc-test bitbake.conf: Prevent pyc file generation in pseudo context 2020-12-20 00:03:04 +00:00
recipetool selftest: add Upstream-Status to .patch files 2024-06-10 14:27:24 +01:00
recipeutils meta: set S from UNPACKDIR in recipes that use only local files 2025-06-20 12:07:26 +01:00
selftest-chown meta: set S from UNPACKDIR in recipes that use only local files 2025-06-20 12:07:26 +01:00
selftest-ed meta: set S to be in UNPACKDIR in recipes that explicitly set S 2025-06-20 12:07:26 +01:00
selftest-hardlink meta: set S from UNPACKDIR in recipes that use only local files 2025-06-20 12:07:26 +01:00
selftest-hello meta: set S from UNPACKDIR in recipes that use only local files 2025-06-20 12:07:26 +01:00
selftest-users meta: set S from UNPACKDIR in recipes that use only local files 2025-06-20 12:07:26 +01:00
sysroot-test oeqa/selftest: Test staged .la and .pc files 2022-07-01 12:37:52 +01:00
systemd-machine-units systemd-machine-units: add bbappend for meta-selftest 2021-08-12 06:26:15 +01:00
testrpm meta: set S from UNPACKDIR in recipes that use only local files 2025-06-20 12:07:26 +01:00
wrapper recipes: Update WORKDIR references to UNPACKDIR 2024-05-02 15:15:51 +01:00
xcursor-transparent-theme xcursor-transparent-theme: use a version glob in the selftest bbappend 2016-03-09 16:58:11 +00:00