tests: split out the common test code for bash scripts
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 12 Aug 2024 08:22:23 +0000 (10:22 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 13 Aug 2024 08:38:40 +0000 (10:38 +0200)
commitad325c0b650b2ff543ec1edb8f802cfb54a0d6e3
tree965945be763a177b7675b21d8ebea7c3fffaa1bd
parente60e38375c7a5b9a0bae99b27e9c5b4d9fe21f27
tests: split out the common test code for bash scripts

In order to allow the upcoming DBus command-line client tests to reuse the
existing bash test harness, let's put the common code into an importable
file and rename run_tool to run_prog to reflect that it now can run any
program.

Tested-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://lore.kernel.org/r/20240812-dbus-v5-2-ead288509217@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
configure.ac
tests/Makefile.am
tests/scripts/Makefile.am [new file with mode: 0644]
tests/scripts/gpiod-bash-test-helper.inc [new file with mode: 0644]
tools/gpio-tools-test.bash