From decca0e3b11e3571b59d656e7906525be52ca2ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com>
Date: Wed, 12 Jul 2023 15:58:33 +0200
Subject: [PATCH] Add recipe to include general yocto test script

BCS 746-001397
---
 .../seco-yocto-testsuite.bb                   | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 recipes-test/seco-yocto-testsuite/seco-yocto-testsuite.bb

diff --git a/recipes-test/seco-yocto-testsuite/seco-yocto-testsuite.bb b/recipes-test/seco-yocto-testsuite/seco-yocto-testsuite.bb
new file mode 100644
index 00000000..480963a8
--- /dev/null
+++ b/recipes-test/seco-yocto-testsuite/seco-yocto-testsuite.bb
@@ -0,0 +1,29 @@
+SUMMARY = "SECO Yocto test suite"
+DESCRITPTION = "Collection of scripts and small programms for various feature tests"
+HOMEPAGE = "https://git.seco.com/seco-ne/tools/yocto-test-suite"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+SRCREV = "${AUTOREV}"
+SRC_URI = " \
+  git://git.seco.com/seco-ne/tools/yocto-test-suite.git;protocol=https;branch=main;nobranch=1 \
+"
+
+# Create a <tag>-<number of commits since tag>-<hash> Version string
+inherit gitpkgv
+PKGV = "${GITPKGVTAG}"
+
+
+do_install () {
+	make install
+	mkdir -p ${D}/opt/yocto-testsuite
+	cp -rv out/* ${D}/opt/yocto-testsuite
+}
+
+FILES:${PN} = " \
+    /opt/yocto-testsuite/* \
+"
+
+
+
-- 
GitLab