a3d91b0a83
bats-file is a helper library providing common filesystem related assertions and helpers for Bats. This library does not provide an installer. Manually install the files under /usr/lib/bats/bats-file which is what the Arch Linux package does[1]. This makes the library loadable using `bats_load_library`[2]. [1] https://gitlab.archlinux.org/archlinux/packaging/packages/bats-file/-/blob/main/PKGBUILD?ref_type=heads [2] https://bats-core.readthedocs.io/en/stable/writing-tests.html#bats-load-library-load-system-wide-libraries Signed-off-by: Brandon Maier <brandon.maier@collins.com> [yann.morin.1998@free.fr: move as sub-option of bats-core] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
20 lines
469 B
Plaintext
20 lines
469 B
Plaintext
config BR2_PACKAGE_BATS_CORE
|
|
bool "bats"
|
|
depends on BR2_PACKAGE_BASH # runtime
|
|
help
|
|
Bats: Bash Automated Testing System
|
|
|
|
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.
|
|
|
|
https://github.com/bats-core/bats-core
|
|
|
|
if BR2_PACKAGE_BATS_CORE
|
|
|
|
source "package/bats-assert/Config.in"
|
|
source "package/bats-file/Config.in"
|
|
source "package/bats-support/Config.in"
|
|
|
|
endif
|