mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-18 15:01:53 +00:00
Birdtest: small change
The number of build-failure tests must be equal to zero or upper
This commit is contained in:
parent
ac2dc0510f
commit
5a5e825213
@ -51,7 +51,11 @@ num_all_tests_src=0
|
|||||||
for dir in client conf filter lib misc nest proto sysdep; do
|
for dir in client conf filter lib misc nest proto sysdep; do
|
||||||
for i in $(find "$srcdir/$dir" -name '*_test.c'); do num_all_tests_src=$((num_all_tests_src + 1)); done
|
for i in $(find "$srcdir/$dir" -name '*_test.c'); do num_all_tests_src=$((num_all_tests_src + 1)); done
|
||||||
done
|
done
|
||||||
|
|
||||||
num_build_fail_tests=$((num_all_tests_src - num_all_tests))
|
num_build_fail_tests=$((num_all_tests_src - num_all_tests))
|
||||||
|
if [ $num_build_fail_tests -lt 0 ]; then
|
||||||
|
num_build_fail_tests=0
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " ------------------------------"
|
echo " ------------------------------"
|
||||||
|
Loading…
Reference in New Issue
Block a user