Skip to contentSkip to conversation

bats: new package

PATCH New Bartosz Golaszewski 1 participant 1 message Jul 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bats: new package

From: Bartosz Golaszewski <[email protected]>

This adds a recipe for the bats package. Bats is a TAP-compliant testing framework for Bash. The recipe is very simple - it just installs a bunch of bash scripts.

---
 meta-oe/recipes-test/bats/bats_1.1.0.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-test/bats/bats_1.1.0.bb
meta-oe/recipes-test/bats/bats_1.1.0.bb new file +21 -0
new file mode 100644
index 000000000..a8179744a
@@ -0,0 +1,21 @@
+SUMMARY = "Bash Automated Testing System"
+DESCRIPTION = "Bats is a TAP-compliant testing framework for Bash. It \
+provides a simple way to verify that the UNIX programs you write behave as expected."
+AUTHOR = "Sam Stephenson & bats-core organization"
+HOMEPAGE = "https://github.com/bats-core/bats-core"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b"
+
+SRC_URI = "git://github.com/bats-core/bats-core.git \
+          "
+# v1.1.0
+SRCREV = "c706d1470dd1376687776bbe985ac22d09780327"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+	# Just a bunch of bash scripts to install
+	${S}/install.sh ${D}${prefix}
+}
+
+RDEPENDS_bats = "bash"
Signature · 1 line
2.21.0