agl-test-framework: Bump SRCREV 36/28236/2 14.92.0 octopus/14.92.0 octopus_14.92.0
authorduerpei <duep.fnst@fujitsu.com>
Wed, 14 Sep 2022 08:32:09 +0000 (16:32 +0800)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 16 Dec 2022 12:06:23 +0000 (12:06 +0000)
Bump agl-test-framework SRCREV to include recently added test sets
into the test framework.

Move the installation of the test set scripts to a new bbappend
file, and this will make subsequent maintenance easier.

Bug-AGL: SPEC-4345

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: Iaa08a7eb7d5712a6ff9b38e3d2b28ad8782b506d

meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bb
meta-agl-test/recipes-tests/agl-test-framework/agl-test-framework.bbappend [new file with mode: 0644]

index 3360e01..907a943 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 = "e35e4d16b0a231ed34a744bcb0a08c1278874df9"
+SRCREV = "50df2b6904dc448c2a8c5ed4f974c631fd97b070"
 
 S = "${WORKDIR}/git"
 
@@ -15,7 +15,7 @@ FILES:${PN} += " \
         /usr/AGL/agl-test/ \
 "
 
-do_install:append() {
+do_install() {
     install -d ${D}/usr/bin/
     install -m 0755 ${WORKDIR}/git/agl-test ${D}/usr/bin/
     install -d ${D}/usr/AGL/agl-test/plugins/
@@ -24,15 +24,6 @@ do_install:append() {
     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/aio-stress/
-    install -m 0644 ${WORKDIR}/git/tests/aio-stress/* ${D}/usr/AGL/agl-test/tests/aio-stress/
-    install -d ${D}/usr/AGL/agl-test/tests/bzip2/
-    install -m 0644 ${WORKDIR}/git/tests/bzip2/* ${D}/usr/AGL/agl-test/tests/bzip2/
-    install -d ${D}/usr/AGL/agl-test/tests/expat/
-    install -m 0644 ${WORKDIR}/git/tests/expat/* ${D}/usr/AGL/agl-test/tests/expat/
-    install -d ${D}/usr/AGL/agl-test/tests/glib2/
-    install -m 0644 ${WORKDIR}/git/tests/glib2/* ${D}/usr/AGL/agl-test/tests/glib2/
 }
 
 RDEPENDS:${PN} += " \
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
new file mode 100644 (file)
index 0000000..4354eab
--- /dev/null
@@ -0,0 +1,65 @@
+#aio-stress
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/aio-stress/
+    install -m 0644 ${WORKDIR}/git/tests/aio-stress/* ${D}/usr/AGL/agl-test/tests/aio-stress/
+}
+
+#bash
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/bash/
+    install -m 0644 ${WORKDIR}/git/tests/bash/* ${D}/usr/AGL/agl-test/tests/bash/
+}
+
+#bc
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/bc/
+    install -m 0644 ${WORKDIR}/git/tests/bc/* ${D}/usr/AGL/agl-test/tests/bc/
+}
+
+#bzip2
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/bzip2/
+    install -m 0644 ${WORKDIR}/git/tests/bzip2/* ${D}/usr/AGL/agl-test/tests/bzip2/
+}
+
+#crashme
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/crashme/
+    install -m 0644 ${WORKDIR}/git/tests/crashme/* ${D}/usr/AGL/agl-test/tests/crashme/
+}
+
+#expat
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/expat/
+    install -m 0644 ${WORKDIR}/git/tests/expat/* ${D}/usr/AGL/agl-test/tests/expat/
+}
+
+#glib2
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/glib2/
+    install -m 0644 ${WORKDIR}/git/tests/glib2/* ${D}/usr/AGL/agl-test/tests/glib2/
+}
+
+#libpam
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/libpam/
+    install -m 0644 ${WORKDIR}/git/tests/libpam/* ${D}/usr/AGL/agl-test/tests/libpam/
+}
+
+#libxml2
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/libxml2/
+    install -m 0644 ${WORKDIR}/git/tests/libxml2/* ${D}/usr/AGL/agl-test/tests/libxml2/
+}
+
+#openssl
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/openssl/
+    install -m 0644 ${WORKDIR}/git/tests/openssl/* ${D}/usr/AGL/agl-test/tests/openssl/
+}
+
+#zlib
+do_install:append() {
+    install -d ${D}/usr/AGL/agl-test/tests/zlib/
+    install -m 0644 ${WORKDIR}/git/tests/zlib/* ${D}/usr/AGL/agl-test/tests/zlib/
+}