mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
1e477be454
Catch2 recipe is moving to version 3 of the Catch2 API which will make the C++ tests in libgpiod uncompatible. libgpiod v2 as ported to the new interface but v1.6.x will not be so just disable building the C++ tests. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 lines
347 B
Bash
20 lines
347 B
Bash
#!/bin/sh
|
|
|
|
testbins="gpiod-test gpio-tools-test gpiod_py_test.py"
|
|
|
|
ptestdir=$(dirname "$(readlink -f "$0")")
|
|
cd $ptestdir/tests
|
|
|
|
for testbin in $testbins; do
|
|
if test -e ./$testbin; then
|
|
./$testbin > ./$testbin.out 2>&1
|
|
if [ $? -ne 0 ]; then
|
|
echo "FAIL: $testbin"
|
|
else
|
|
echo "PASS: $testbin"
|
|
fi
|
|
else
|
|
echo "SKIP: $testbin"
|
|
fi
|
|
done
|