diff options
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/files')
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/files/run-ptest | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/files/run-ptest b/meta-oe/recipes-support/libgpiod/files/run-ptest new file mode 100644 index 0000000000..4cda05d446 --- /dev/null +++ b/meta-oe/recipes-support/libgpiod/files/run-ptest | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | testbin="gpiod-test" | ||
| 4 | ptestdir=$(dirname "$(readlink -f "$0")") | ||
| 5 | cd $ptestdir/tests | ||
| 6 | |||
| 7 | ./$testbin | ||
| 8 | if [ $? -ne 0 ]; then | ||
| 9 | echo "FAIL: $testbin" | ||
| 10 | else | ||
| 11 | echo "PASS: $testbin" | ||
| 12 | fi | ||
