summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/ptest-packagelists.inc
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2021-11-09 16:28:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-23 14:04:02 +0000
commit0e0c481a25f10f8f7ff1d69bda7f015186da0202 (patch)
tree8aeedfe644f6aee88b67e707c74d293a8fef2c27 /meta/conf/distro/include/ptest-packagelists.inc
parent8dcf0325928942ba55710805204fd2e614647de7 (diff)
downloadpoky-0e0c481a25f10f8f7ff1d69bda7f015186da0202.tar.gz
glibc: ptest: Add running glibc time related test suite (Y2038) with ptest
This patch introduces new recipe - namely 'glibc-tests', which builds and installs time related (to check if Y2038 support works) glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses qemu to execute remotely (via SSH) tests on some emulated machine. This recipe installs time related glibc tests on some rootfs image. Afterwards, those tests can be executed on the real hardware, to facilitate validation of it with Y2038 problem compliance. To test time related subset - one needs to call: ptest-runner glibc-tests then change the date after Y2038 threshold for 32 bit systems: date -s "20 JAN 2038 18:00:00" and then run ptest-runner again. To facilitate debugging, source files are provided by default with the unstripped debugging symbols. Such approach would reduce the already complex recipe (as it inherits base glibc one), so there is no need to also install *-dbg and *-src packages. (From OE-Core rev: 0a64888e033694e7a68f12df81ef8edfdca0ba3c) Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include/ptest-packagelists.inc')
-rw-r--r--meta/conf/distro/include/ptest-packagelists.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc
index 9559f611d0..0277ddaf1a 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -61,6 +61,7 @@ PTESTS_FAST = "\
61 slang-ptest \ 61 slang-ptest \
62 wayland-ptest \ 62 wayland-ptest \
63 zlib-ptest \ 63 zlib-ptest \
64 glibc-tests-ptest \
64" 65"
65PTESTS_FAST:remove:mips64 = "qemu-ptest" 66PTESTS_FAST:remove:mips64 = "qemu-ptest"
66PTESTS_PROBLEMS:append:mips64 = " qemu-ptest" 67PTESTS_PROBLEMS:append:mips64 = " qemu-ptest"