Add 'Ok' / 'FAILED' overall status for tests
This commit is contained in:
parent
ea401f1157
commit
0ea2409fd0
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ test: $(tests) output
|
||||||
else echo -e '\e[0;31mFailure\e[0m' ; \
|
else echo -e '\e[0;31mFailure\e[0m' ; \
|
||||||
fail=$$(expr $${fail} + 1) ; \
|
fail=$$(expr $${fail} + 1) ; \
|
||||||
fi ; done || true ; \
|
fi ; done || true ; \
|
||||||
printf "\nResults: %i succeeded, %i failed\n" $${success} $${fail}
|
if [ $${fail} == 0 ] ; then res="Ok" ; else res="FAILED" ; fi ; \
|
||||||
|
printf "\nResults: %s. %i succeeded; %i failed\n" $${res} $${success} $${fail}
|
||||||
|
|
||||||
output:
|
output:
|
||||||
@ [-d $@ ] 2>/dev/null || install -d $@
|
@ [-d $@ ] 2>/dev/null || install -d $@
|
||||||
|
|
Loading…
Add table
Reference in a new issue