summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/files')
-rw-r--r--meta-oe/recipes-support/libgpiod/files/run-ptest12
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
3testbin="gpiod-test"
4ptestdir=$(dirname "$(readlink -f "$0")")
5cd $ptestdir/tests
6
7./$testbin
8if [ $? -ne 0 ]; then
9 echo "FAIL: $testbin"
10else
11 echo "PASS: $testbin"
12fi