mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-02 16:55:11 +00:00
Changelog: ========= Added: ----- new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize quotes around code blocks in error output (#506) an example/regression test for running background tasks without blocking the test run (#525, #535) bats_load_library for loading libraries from the search path $BATS_LIB_PATH (#548) Fixed: ----- improved error trace for some broken cases (#279) removed leftover debug file /tmp/latch in selftest suite (single use latch) (#516) fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (#516) fixed leaking of local variables from debug trap (#520) don't mark FD3 output from teardown_file as <failure> in junit output (#532) fix unbound variable error with Bash pre 4.4 (#550) Documentation: -------------- remove links to defunct freenode IRC channel (#515) improved grammar (#534) fixed link to TAP spec (#537) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
31 lines
1.1 KiB
BlitzBasic
31 lines
1.1 KiB
BlitzBasic
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;branch=master;protocol=https"
|
|
# v1.4.1
|
|
SRCREV = "210acf3a8ed318ddedad3137c15451739beba7d4"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
do_configure:prepend() {
|
|
sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats
|
|
sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-file
|
|
sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-test
|
|
}
|
|
|
|
do_install() {
|
|
# Just a bunch of bash scripts to install
|
|
${S}/install.sh ${D}${prefix} ${baselib}
|
|
}
|
|
|
|
RDEPENDS:${PN} = "bash"
|
|
FILES:${PN} += "${libdir}/bats-core/*"
|
|
|
|
PACKAGECONFIG ??= "pretty"
|
|
PACKAGECONFIG[pretty] = ",,,ncurses"
|