diff options
author | Kent Gibson <warthog618@gmail.com> | 2023-06-12 10:56:42 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-06-12 20:53:38 +0200 |
commit | 5582e0c8e882420452a9cea3eab67e6b02575ceb (patch) | |
tree | 5f24d4d4550cd1c4cf29b09a28759cf0251ac55d | |
parent | 6e1d44723805850395c80e2b1aed7c8840451209 (diff) | |
download | libgpiod-5582e0c8e882420452a9cea3eab67e6b02575ceb.tar.gz |
tools: tests: remove implicit run-time dependency on ncurses
bats has an implicit depencency on ncurses, as I found when trying to
run the tests on a minimal install that lacked ncurses. Rather than make
the dependency explicit, force the output formatting to use the TAP
format which does not require ncurses.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-rwxr-xr-x | tools/gpio-tools-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpio-tools-test b/tools/gpio-tools-test index ed39ed5a..441ec666 100755 --- a/tools/gpio-tools-test +++ b/tools/gpio-tools-test @@ -54,4 +54,4 @@ modprobe gpio-sim || die "unable to load the gpio-sim module" mountpoint /sys/kernel/config/ > /dev/null 2> /dev/null || \ die "configfs not mounted at /sys/kernel/config/" -exec $BATS_PATH $SOURCE_DIR/$BATS_SCRIPT ${1+"$@"} +exec $BATS_PATH -F tap $SOURCE_DIR/$BATS_SCRIPT ${1+"$@"} |