aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-test
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-test')
-rw-r--r--meta-agl-test/recipes-platform/packagegroup/packagegroup-agl-extend-test.bb1
-rw-r--r--meta-agl-test/recipes-tests/linus-stress/linus-stress.bb20
2 files changed, 21 insertions, 0 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 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 \
+"