Commit 324c3410 authored by Richard Neill's avatar Richard Neill
Browse files

ewaol-tests: Stop pinning BATS to 1.5.0 version

This patch reverts commit 24118c5f

 which pinned
BATS to v1.5.0.

Issue-Id: SCM-4394
Signed-off-by: Richard Neill's avatarRichard Neill <>
Change-Id: I68ae467341ea367adca87a59209705ae27427385
parent cc398e75
......@@ -13,11 +13,3 @@ IMAGE_INSTALL:append = " container-engine-integration-tests-ptest \
IMAGE_INSTALL:append = "${@bb.utils.contains('DISTRO_FEATURES',\
'ewaol-virtualization', ' virtualization-integration-tests-ptest', '', d)}"
# With v1.6.0, BATS returns success with failing tests. The exit status of a
# BATS 'run' command called from the teardown_file() function is returned as
# the exit status of the bats script. This means that even if the test cases
# fail, a successful teardown will produce a passing test suite execution.
# This is a regression from v1.5.0.
PREFERRED_VERSION_pn-bats = "1.5.0"
# Based on:
# In open-source project:
# Original file: Copyright (c) 2022 wangmy <>
# Modifications: Copyright (c) 2022 Arm Limited and Contributors. All rights reserved.
# SPDX-License-Identifier: MIT
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"
LIC_FILES_CHKSUM = "file://;md5=2970203aedf9e829edb96a137a4fe81b"
SRC_URI = "git://;branch=master;protocol=https"
# v1.5.0
SRCREV = "99d64eb017abcd6a766dd0d354e625526da69cb3"
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}/ ${D}${prefix} ${baselib}
RDEPENDS:${PN} = "bash"
FILES:${PN} += "${libdir}/bats-core/*"
PACKAGECONFIG ??= "pretty"
PACKAGECONFIG[pretty] = ",,,ncurses"
inherit features_check
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment