summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/include/maintainers.inc1
-rw-r--r--meta/conf/distro/include/ptest-packagelists.inc75
-rw-r--r--meta/recipes-sato/images/core-image-sato-ptest-fast.bb16
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
122RECIPE_MAINTAINER_pn-core-image-weston = "Richard Purdie <richard.purdie@linuxfoundation.org>" 122RECIPE_MAINTAINER_pn-core-image-weston = "Richard Purdie <richard.purdie@linuxfoundation.org>"
123RECIPE_MAINTAINER_pn-core-image-x11 = "Richard Purdie <richard.purdie@linuxfoundation.org>" 123RECIPE_MAINTAINER_pn-core-image-x11 = "Richard Purdie <richard.purdie@linuxfoundation.org>"
124RECIPE_MAINTAINER_pn-core-image-sato-dev = "Richard Purdie <richard.purdie@linuxfoundation.org>" 124RECIPE_MAINTAINER_pn-core-image-sato-dev = "Richard Purdie <richard.purdie@linuxfoundation.org>"
125RECIPE_MAINTAINER_pn-core-image-sato-ptest-fast = "Richard Purdie <richard.purdie@linuxfoundation.org>"
125RECIPE_MAINTAINER_pn-core-image-sato-sdk-ptest = "Richard Purdie <richard.purdie@linuxfoundation.org>" 126RECIPE_MAINTAINER_pn-core-image-sato-sdk-ptest = "Richard Purdie <richard.purdie@linuxfoundation.org>"
126RECIPE_MAINTAINER_pn-coreutils = "Chen Qi <Qi.Chen@windriver.com>" 127RECIPE_MAINTAINER_pn-coreutils = "Chen Qi <Qi.Chen@windriver.com>"
127RECIPE_MAINTAINER_pn-cpio = "Denys Dmytriyenko <denys@ti.com>" 128RECIPE_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#
6PTESTS_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
58PTESTS_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 @@
1require core-image-sato-sdk.bb
2require conf/distro/include/ptest-packagelists.inc
3
4IMAGE_INSTALL += "${PTESTS_FAST}"
5
6DESCRIPTION += "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
12IMAGE_OVERHEAD_FACTOR = "1.0"
13IMAGE_ROOTFS_EXTRA_SPACE = "1524288"
14
15# ptests need more memory than standard to avoid the OOM killer
16QB_MEM = "-m 1024"