summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-08-07 22:13:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-11 18:04:25 +0100
commit434d647efab2c9b32c311ac119543e42fca9a25e (patch)
tree817fd97a98f2a3cf78dfc856ba78eb2dc965ed28 /meta/conf/distro/include
parent45c3732ab47892d5444dbb18c97924ee16d09e3d (diff)
downloadpoky-434d647efab2c9b32c311ac119543e42fca9a25e.tar.gz
dpkg: add ptest support
Added it to slow tests, as it takes betwen 165 and 190 seconds on my machine to execute (qemux86-64 + kvm). The test folder's Makefile contains a list of passing, failing and manual tests. By default, only the expected-to-pass tests are executed by the Makefile (unless magic environment variable is set). The run-ptest script mimics the default behavior of executing the expected-to-pass tests, however they are executed one by one, instead of running them as one batch - that way it is easier to determine exactly which tests pass and which fail. One other thing that might worth a note, is that the tests folder that needs to be installed contains a number of subfolders called "DEBIAN". When packaging them at least with rpm, these folders are omitted from the package. However these are essential for the tests, as they contain test data. As a workaround, these folders are renamed during installation to DEBIAN-ptest, and before execution the run-ptest script restores their names. (From OE-Core rev: 02ed7fad85463840c46b6c0fa0ac9decef77c503) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include')
-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 85c0350161..e3099439f4 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -101,6 +101,7 @@ PTESTS_SLOW = "\
101 curl \ 101 curl \
102 dbus \ 102 dbus \
103 dosfstools \ 103 dosfstools \
104 dpkg \
104 e2fsprogs \ 105 e2fsprogs \
105 elfutils \ 106 elfutils \
106 gettext \ 107 gettext \