From df625750c681365b8ed1fbd746cbe054437395cb Mon Sep 17 00:00:00 2001 From: Kamil Dziezyk Date: Wed, 14 Apr 2021 14:26:15 +0200 Subject: bats: upgrade 1.1.0 -> 1.3.0 Add 'pretty' PACKAGECONFIG option with ncurses runtime dependency. This option allows to display test results with '--formatter pretty|-p' bats command line option. Signed-off-by: Kamil Dziezyk Signed-off-by: Khem Raj --- meta-oe/recipes-test/bats/bats_1.1.0.bb | 21 --------------------- meta-oe/recipes-test/bats/bats_1.3.0.bb | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 21 deletions(-) delete mode 100644 meta-oe/recipes-test/bats/bats_1.1.0.bb create mode 100644 meta-oe/recipes-test/bats/bats_1.3.0.bb (limited to 'meta-oe/recipes-test') diff --git a/meta-oe/recipes-test/bats/bats_1.1.0.bb b/meta-oe/recipes-test/bats/bats_1.1.0.bb deleted file mode 100644 index a8179744ae..0000000000 --- a/meta-oe/recipes-test/bats/bats_1.1.0.bb +++ /dev/null @@ -1,21 +0,0 @@ -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" diff --git a/meta-oe/recipes-test/bats/bats_1.3.0.bb b/meta-oe/recipes-test/bats/bats_1.3.0.bb new file mode 100644 index 0000000000..8190a5e3a5 --- /dev/null +++ b/meta-oe/recipes-test/bats/bats_1.3.0.bb @@ -0,0 +1,25 @@ +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.3.0 +SRCREV = "9086c47854652f2731861b40385689c85f12103f" + +S = "${WORKDIR}/git" + +do_install() { + # Just a bunch of bash scripts to install + ${S}/install.sh ${D}${prefix} +} + +RDEPENDS_${PN} = "bash" +FILES_${PN} += "${libdir}/bats-core/*" + +PACKAGECONFIG ??= "pretty" +PACKAGECONFIG[pretty] = ",,,ncurses" -- cgit 1.2.3-korg