diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-17 14:18:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-23 23:30:19 +0100 |
commit | ff9448f915369db8ed9ae7f4ccc617f3912172d6 (patch) | |
tree | 6a85a5bf9aa6c5a3440ea7a8e7a1be6a522cbc8a /meta | |
parent | a5dd314fba9e0571ab9af81d6f91c48d8ebfd14a (diff) | |
download | poky-ff9448f915369db8ed9ae7f4ccc617f3912172d6.tar.gz |
core-image-sato-ptest-fast: Add 'fast' ptest execution image
Create a common include file which lists recipes that have ptests divided
into 'fast' and 'slow' groups. This allows us to include ptests which otherwise
may not get included in images and allows us to test the faster running things
more regularly.
The new image allows access to these faster executing tests. 'fast' is defined
as tests which execute in under 30s roughly speaking.
(From OE-Core rev: 2d8f8ab85d98929b0f1f699f256b40b1d9cddaec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
-rw-r--r-- | meta/conf/distro/include/ptest-packagelists.inc | 75 | ||||
-rw-r--r-- | meta/recipes-sato/images/core-image-sato-ptest-fast.bb | 16 |
3 files changed, 92 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 950b8e8951..41c2a95d53 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
@@ -122,6 +122,7 @@ RECIPE_MAINTAINER_pn-core-image-clutter = "Richard Purdie <richard.purdie@linuxf | |||
122 | RECIPE_MAINTAINER_pn-core-image-weston = "Richard Purdie <richard.purdie@linuxfoundation.org>" | 122 | RECIPE_MAINTAINER_pn-core-image-weston = "Richard Purdie <richard.purdie@linuxfoundation.org>" |
123 | RECIPE_MAINTAINER_pn-core-image-x11 = "Richard Purdie <richard.purdie@linuxfoundation.org>" | 123 | RECIPE_MAINTAINER_pn-core-image-x11 = "Richard Purdie <richard.purdie@linuxfoundation.org>" |
124 | RECIPE_MAINTAINER_pn-core-image-sato-dev = "Richard Purdie <richard.purdie@linuxfoundation.org>" | 124 | RECIPE_MAINTAINER_pn-core-image-sato-dev = "Richard Purdie <richard.purdie@linuxfoundation.org>" |
125 | RECIPE_MAINTAINER_pn-core-image-sato-ptest-fast = "Richard Purdie <richard.purdie@linuxfoundation.org>" | ||
125 | RECIPE_MAINTAINER_pn-core-image-sato-sdk-ptest = "Richard Purdie <richard.purdie@linuxfoundation.org>" | 126 | RECIPE_MAINTAINER_pn-core-image-sato-sdk-ptest = "Richard Purdie <richard.purdie@linuxfoundation.org>" |
126 | RECIPE_MAINTAINER_pn-coreutils = "Chen Qi <Qi.Chen@windriver.com>" | 127 | RECIPE_MAINTAINER_pn-coreutils = "Chen Qi <Qi.Chen@windriver.com>" |
127 | RECIPE_MAINTAINER_pn-cpio = "Denys Dmytriyenko <denys@ti.com>" | 128 | RECIPE_MAINTAINER_pn-cpio = "Denys Dmytriyenko <denys@ti.com>" |
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc new file mode 100644 index 0000000000..768ba743ed --- /dev/null +++ b/meta/conf/distro/include/ptest-packagelists.inc | |||
@@ -0,0 +1,75 @@ | |||
1 | # | ||
2 | # Lists of the ptests in OE-Core, sorted into two sets by the time they take | ||
3 | # | ||
4 | # ptests which take less than ~30s each | ||
5 | # | ||
6 | PTESTS_FAST = "\ | ||
7 | acl-ptest \ | ||
8 | apr-ptest \ | ||
9 | apr-util-ptest \ | ||
10 | attr-ptest \ | ||
11 | bluez5-ptest \ | ||
12 | bzip2-ptest \ | ||
13 | dbus-test-ptest \ | ||
14 | diffstat-ptest \ | ||
15 | diffutils-ptest \ | ||
16 | elfutils-ptest \ | ||
17 | ethtool-ptest \ | ||
18 | flex-ptest \ | ||
19 | gawk-ptest \ | ||
20 | gdbm-ptest \ | ||
21 | gdk-pixbuf-ptest \ | ||
22 | gzip-ptest \ | ||
23 | json-glib-ptest \ | ||
24 | kbd-ptest \ | ||
25 | libconvert-asn1-perl-ptest \ | ||
26 | liberror-perl-ptest \ | ||
27 | libpcre-ptest \ | ||
28 | libtimedate-perl-ptest \ | ||
29 | libtest-needs-perl-ptest \ | ||
30 | liburi-perl-ptest \ | ||
31 | libusb1-ptest \ | ||
32 | libxml-namespacesupport-perl-ptest \ | ||
33 | libxml-perl-ptest \ | ||
34 | libxml-parser-perl-ptest \ | ||
35 | libxml-sax-perl-ptest \ | ||
36 | libxml-sax-base-perl-ptest \ | ||
37 | libxml-simple-perl-ptest \ | ||
38 | libxml2-ptest \ | ||
39 | lzo-ptest \ | ||
40 | nettle-ptest \ | ||
41 | openssl-ptest \ | ||
42 | opkg-ptest \ | ||
43 | pango-ptest \ | ||
44 | parted-ptest \ | ||
45 | quilt-ptest \ | ||
46 | sed-ptest \ | ||
47 | slang-ptest \ | ||
48 | zlib-ptest \ | ||
49 | " | ||
50 | |||
51 | #PTESTS_PROBLEMS = "\ | ||
52 | # qemu-ptest \ # Doesn't run any tests? | ||
53 | # ruby-ptest \ # Timeout | ||
54 | # mdadm-ptest \ # Timeout | ||
55 | # clutter-1.0-ptest \ # Doesn't build due to depends on cogl-1.0 | ||
56 | #" | ||
57 | |||
58 | PTESTS_SLOW = "\ | ||
59 | bash-ptest \ | ||
60 | busybox-ptest \ | ||
61 | e2fsprogs-ptest \ | ||
62 | glib-2.0-ptest \ | ||
63 | gstreamer1.0-ptest \ | ||
64 | libevent-ptest \ | ||
65 | lttng-tools-ptest \ | ||
66 | openssh-ptest \ | ||
67 | openssl-ptest \ | ||
68 | perl-ptest \ | ||
69 | python-ptest \ | ||
70 | python3-ptest \ | ||
71 | strace-ptest \ | ||
72 | tcl-ptest \ | ||
73 | util-linux-ptest \ | ||
74 | valgrind-ptest \ | ||
75 | " | ||
diff --git a/meta/recipes-sato/images/core-image-sato-ptest-fast.bb b/meta/recipes-sato/images/core-image-sato-ptest-fast.bb new file mode 100644 index 0000000000..b794a7dc9e --- /dev/null +++ b/meta/recipes-sato/images/core-image-sato-ptest-fast.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | require core-image-sato-sdk.bb | ||
2 | require conf/distro/include/ptest-packagelists.inc | ||
3 | |||
4 | IMAGE_INSTALL += "${PTESTS_FAST}" | ||
5 | |||
6 | DESCRIPTION += "Also includes ptest packages with fast execution times to allow for more automated QA." | ||
7 | |||
8 | # This image is sufficiently large (~1.8GB) that it can't actually fit in a live | ||
9 | # image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the | ||
10 | # box) and explicitly add just 1500MB. | ||
11 | # strace-ptest in particular needs more than 500MB | ||
12 | IMAGE_OVERHEAD_FACTOR = "1.0" | ||
13 | IMAGE_ROOTFS_EXTRA_SPACE = "1524288" | ||
14 | |||
15 | # ptests need more memory than standard to avoid the OOM killer | ||
16 | QB_MEM = "-m 1024" | ||