mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 10:11:53 +00:00
Birdtest: Output the number of Test Build Failures
This commit is contained in:
parent
7d0c9831f8
commit
5a1b5e0119
@ -11,6 +11,8 @@ docs userdocs progdocs:
|
|||||||
|
|
||||||
check: build-tests
|
check: build-tests
|
||||||
@all_tests=( `find . -name '*_test' -executable` ) ; \
|
@all_tests=( `find . -name '*_test' -executable` ) ; \
|
||||||
|
all_tests_source=( `find . -name '*_test.c'` ) ; \
|
||||||
|
num_build_fail_tests=$$(($${#all_tests_source[@]} - $${#all_tests[@]})) ; \
|
||||||
test_num=1 ; \
|
test_num=1 ; \
|
||||||
num_succ_tests=0 ; \
|
num_succ_tests=0 ; \
|
||||||
num_fail_tests=0 ; \
|
num_fail_tests=0 ; \
|
||||||
@ -25,6 +27,7 @@ check: build-tests
|
|||||||
echo "------------------------------" ; \
|
echo "------------------------------" ; \
|
||||||
echo " Success: $$num_succ_tests" ; \
|
echo " Success: $$num_succ_tests" ; \
|
||||||
echo " Failure: $$num_fail_tests" ; \
|
echo " Failure: $$num_fail_tests" ; \
|
||||||
|
echo " Build-Failure: $$num_build_fail_tests" ; \
|
||||||
echo "------------------------------"
|
echo "------------------------------"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user