diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-02-23 21:01:05 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-24 08:45:44 -0800 |
| commit | 14c638320dc9ca5822bb1083ee60f3463ba82c4a (patch) | |
| tree | 5649ab0c2f2e874d9e4907d51c35f949f1e51b0d /meta-oe/recipes-support/libgpiod/libgpiod-2.0-rc3 | |
| parent | 2c1b55a059fdad9a4e65e59b5a097c06318ad8ec (diff) | |
| download | meta-openembedded-14c638320dc9ca5822bb1083ee60f3463ba82c4a.tar.gz | |
libgpiod: bump version to v2.0-rc3
I decided to make one more RC before the final release as there was one
late minor change to C++ interface (marking public classes as final).
Next week libgpiod v2.0 should be finally carved in stone.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/libgpiod-2.0-rc3')
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod-2.0-rc3/run-ptest | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.0-rc3/run-ptest b/meta-oe/recipes-support/libgpiod/libgpiod-2.0-rc3/run-ptest new file mode 100644 index 0000000000..9475f02535 --- /dev/null +++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.0-rc3/run-ptest | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | testbins="gpiod-test gpio-tools-test gpiod-cxx-test" | ||
| 4 | |||
| 5 | ptestdir=$(dirname "$(readlink -f "$0")") | ||
| 6 | cd $ptestdir/tests | ||
| 7 | |||
| 8 | # libgpiod v2 uses gpio-sim - a configfs-based testing module. We need to | ||
| 9 | # make sure configfs is mounted before running any tests. | ||
| 10 | modprobe configfs | ||
| 11 | mountpoint /sys/kernel/config > /dev/null || mount -t configfs configfs /sys/kernel/config | ||
| 12 | |||
| 13 | for testbin in $testbins; do | ||
| 14 | if test -e ./$testbin; then | ||
| 15 | ./$testbin > ./$testbin.out 2>&1 | ||
| 16 | if [ $? -ne 0 ]; then | ||
| 17 | echo "FAIL: $testbin" | ||
| 18 | else | ||
| 19 | echo "PASS: $testbin" | ||
| 20 | fi | ||
| 21 | else | ||
| 22 | echo "SKIP: $testbin" | ||
| 23 | fi | ||
| 24 | done | ||
