aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorduerpei <duep.fnst@fujitsu.com>2022-10-16 11:07:24 +0800
committerduerpei <duep.fnst@fujitsu.com>2022-10-16 11:07:24 +0800
commitf8566ad47db48aca6b1128b553d09648e160881f (patch)
tree95245fc378e21686660e4aedf3584500fc02778a
parent05fa031caab2fdf299fe4a2b3cddcfe2358f9590 (diff)
Bump agl-test-framework SRCREV to include recently added test sets into the test framework. By the way, change a code indentation which is not standard. Bug-AGL: SPEC-4345 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I314d0e40d02a478d57fc918017456219b5699249
-rw-r--r--meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb2
-rw-r--r--meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bb6
-rw-r--r--meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bbappend28
3 files changed, 34 insertions, 2 deletions
diff --git a/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb
index 1f6df3b0..802a973d 100644
--- a/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb
+++ b/meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb
@@ -12,4 +12,6 @@ ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN} += " \
agl-test-framework \
aio-stress \
+ stress-ng \
+ ltp \
"
diff --git a/meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bb b/meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bb
index 907a9438..f12308f2 100644
--- a/meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bb
+++ b/meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bb
@@ -7,7 +7,7 @@ PN = 'agl-test-framework'
PV = '1'
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/agl-test-framework;protocol=https;branch=master"
-SRCREV = "50df2b6904dc448c2a8c5ed4f974c631fd97b070"
+SRCREV = "2b0b2c37da795ae77d006308c96a054734ab6d24"
S = "${WORKDIR}/git"
@@ -24,10 +24,12 @@ do_install() {
install -m 0644 ${WORKDIR}/git/plugins/* ${D}/usr/AGL/agl-test/plugins/
install -d ${D}/usr/AGL/agl-test/template/
install -m 0644 ${WORKDIR}/git/template/* ${D}/usr/AGL/agl-test/template/
+ install -d ${D}/usr/AGL/agl-test/tests/
+ install -m 0644 ${WORKDIR}/git/tests/__init__.py ${D}/usr/AGL/agl-test/tests/
}
RDEPENDS:${PN} += " \
python3-pytest \
python3-jinja2 \
- python3-pytest-order \
+ python3-pytest-order \
"
diff --git a/meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bbappend b/meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bbappend
index 4354eab5..7950a5ca 100644
--- a/meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bbappend
+++ b/meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bbappend
@@ -1,3 +1,13 @@
+#LTP
+do_install:append() {
+ install -d ${D}/usr/AGL/agl-test/tests/LTP/
+ install -m 0644 ${WORKDIR}/git/tests/LTP/*py ${D}/usr/AGL/agl-test/tests/LTP/
+
+ #math
+ install -d ${D}/usr/AGL/agl-test/tests/LTP/math/
+ install -m 0644 ${WORKDIR}/git/tests/LTP/math/* ${D}/usr/AGL/agl-test/tests/LTP/math/
+}
+
#aio-stress
do_install:append() {
install -d ${D}/usr/AGL/agl-test/tests/aio-stress/
@@ -34,6 +44,12 @@ do_install:append() {
install -m 0644 ${WORKDIR}/git/tests/expat/* ${D}/usr/AGL/agl-test/tests/expat/
}
+#gdk-pixbuf
+do_install:append() {
+ install -d ${D}/usr/AGL/agl-test/tests/gdk-pixbuf/
+ install -m 0644 ${WORKDIR}/git/tests/gdk-pixbuf/* ${D}/usr/AGL/agl-test/tests/gdk-pixbuf/
+}
+
#glib2
do_install:append() {
install -d ${D}/usr/AGL/agl-test/tests/glib2/
@@ -58,6 +74,18 @@ do_install:append() {
install -m 0644 ${WORKDIR}/git/tests/openssl/* ${D}/usr/AGL/agl-test/tests/openssl/
}
+#python3
+do_install:append() {
+ install -d ${D}/usr/AGL/agl-test/tests/python3/
+ install -m 0644 ${WORKDIR}/git/tests/python3/* ${D}/usr/AGL/agl-test/tests/python3/
+}
+
+#stress-ng
+do_install:append() {
+ install -d ${D}/usr/AGL/agl-test/tests/stress-ng/
+ install -m 0644 ${WORKDIR}/git/tests/stress-ng/* ${D}/usr/AGL/agl-test/tests/stress-ng/
+}
+
#zlib
do_install:append() {
install -d ${D}/usr/AGL/agl-test/tests/zlib/