From 7e1bcd83fa7b9c004f6e19202807225f65289902 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 3 Nov 2023 21:04:05 +0100 Subject: [PATCH] shunit2: new recipe Add a recipe for shunit2 - a testing framework for command-line tools and shell scripts. Signed-off-by: Bartosz Golaszewski Signed-off-by: Khem Raj --- meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb diff --git a/meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb b/meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb new file mode 100644 index 0000000000..0ac06c361b --- /dev/null +++ b/meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb @@ -0,0 +1,14 @@ +SUMMARY = "shUnit2 is a xUnit based unit test framework for Bourne based shell scripts" +AUTHOR = "Kate Ward " +HOMEPAGE = "https://github.com/kward/shunit2" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +SRC_URI = " git://github.com/kward/shunit2.git;branch=master;protocol=https" +SRCREV = "080159b303537888c5d41910b4d47a5002638e30" + +S = "${WORKDIR}/git" + +do_install() { + install -D -m 0755 ${S}/shunit2 ${D}${bindir}/shunit2 +}