projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf5002b
)
tools: tests: check for 'timeout' program
author
Bartosz Golaszewski
<brgl@bgdev.pl>
Fri, 19 Nov 2021 10:29:01 +0000
(11:29 +0100)
committer
Bartosz Golaszewski
<brgl@bgdev.pl>
Fri, 19 Nov 2021 10:29:01 +0000
(11:29 +0100)
I noticed that tools ptests fail on minimal yocto systems and the
culprit of that is missing the timeout command. Check for it before
launching the bats suite.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
tools/gpio-tools-test
patch
|
blob
|
history
diff --git
a/tools/gpio-tools-test
b/tools/gpio-tools-test
index b3d19f5e23c400f3b7fdd6ddcf91b18c60090f82..9517974d2379603fef658636f4404a49dabf6aa0 100755
(executable)
--- a/
tools/gpio-tools-test
+++ b/
tools/gpio-tools-test
@@
-38,6
+38,7
@@
check_prog bats
check_prog modprobe
check_prog rmmod
check_prog udevadm
+check_prog timeout
# Check if we're running a kernel at the required version or later
check_kernel $MIN_KERNEL_VERSION