mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 01:39:40 +01:00
All tests are installed, but only what `make check` runs is run, so currently that's 1 test named `check-all` `libcheck` needs to be present for ./configure to generate the check* tests. An issue asking about upstream testing strategy is opened at https://github.com/thom311/libnl/issues/270 (From OE-Core rev: 23a785a373f76a24f4f7dd867522ce296cbf30f3) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
215 B
Executable File
215 B
Executable File
#!/bin/sh
num_fail=0
for test in check*
do
./"$test"
&& echo "PASS: $test"
|| {
echo "FAIL: $test"
num_fail=$(( ${num_fail} + 1))
}
done
exit $num_fail