meta-agl-test: Bump SRCREV 82/28382/1 14.93.0 14.94.0 octopus/14.93.0 octopus/14.94.0 octopus_14.93.0 octopus_14.94.0
authorduerpei <duep.fnst@fujitsu.com>
Sun, 16 Oct 2022 03:07:24 +0000 (11:07 +0800)
committerduerpei <duep.fnst@fujitsu.com>
Sun, 16 Oct 2022 03:07:24 +0000 (11:07 +0800)
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

meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb
meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bb
meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bbappend

index 907a943..f12308f 100644 (file)
@@ -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 \
 "
index 4354eab..7950a5c 100644 (file)
@@ -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/