mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 15:41:54 +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 i in $(find "$srcdir/$dir" -name '*_test.c'); do num_all_tests_src=$((num_all_tests_src + 1)); done
|
||||
done
|
||||
|
||||
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 " ------------------------------"
|
||||
|
Loading…
Reference in New Issue
Block a user