aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-11-03 21:04:05 +0100
committerKhem Raj <raj.khem@gmail.com>2023-11-03 15:07:16 -0700
commit7e1bcd83fa7b9c004f6e19202807225f65289902 (patch)
tree6746116bebb3e355c82448167e27611ea398937f
parent4cef1e68ea59510d85b778e11179a2dac47c658b (diff)
downloadmeta-openembedded-contrib-7e1bcd83fa7b9c004f6e19202807225f65289902.tar.gz
shunit2: new recipe
Add a recipe for shunit2 - a testing framework for command-line tools and shell scripts. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb14
1 files changed, 14 insertions, 0 deletions
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 <kate.ward@forestent.com>"
+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
+}