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