From 9a991da4d017ff05f291316b6ead7be6bd5ded14 Mon Sep 17 00:00:00 2001 From: yanxk Date: Mon, 24 Jul 2023 03:06:57 +0800 Subject: meta-agl-test: add "linus_stress" get this old core test into current agl-test-framework. re-write old bb file, make it working for agl-test-framework. Bug-AGL: SPEC-4345 Signed-off-by: yanxk Change-Id: I341b18516e2b3b57622239f47b4b40d2d4d4a160 --- .../packagegroup/packagegroup-agl-extend-test.bb | 1 + .../recipes-tests/linus-stress/linus-stress.bb | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 meta-agl-test/recipes-tests/linus-stress/linus-stress.bb (limited to 'meta-agl-test') 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 802a973d..b4401ac1 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 @@ -14,4 +14,5 @@ RDEPENDS:${PN} += " \ aio-stress \ stress-ng \ ltp \ + linus-stress \ " diff --git a/meta-agl-test/recipes-tests/linus-stress/linus-stress.bb b/meta-agl-test/recipes-tests/linus-stress/linus-stress.bb new file mode 100644 index 00000000..4a190245 --- /dev/null +++ b/meta-agl-test/recipes-tests/linus-stress/linus-stress.bb @@ -0,0 +1,20 @@ +SUMMARY = "linus_stress test" +HOMEPAGE = "https://chromium.googlesource.com/chromiumos/third_party/autotest/+/master/client/tests/linus_stress" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/linus_stress/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/qa-test-misc;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "87cdfd4626c0cb47fc22f328867e49d6268df85c" + +S = "${WORKDIR}/git/linus_stress" + +do_install() { + install -d ${D}/usr/AGL/agl-test/tests/linus_stress/resource/ + install -m 0755 ${S}/linus_stress ${D}/usr/AGL/agl-test/tests/linus_stress/resource/ +} + +INSANE_SKIP:${PN} = "ldflags" + +FILES:${PN} += " \ + /usr/AGL/agl-test/tests/linus_stress/resource \ +" -- cgit 1.2.3-korg