Use echo -e
in test/Makefile instead of printf
This commit is contained in:
parent
68871dcc7f
commit
37d0668a2f
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ test: $(tests) output
|
||||||
fail=$$(expr $${fail} + 1) ; \
|
fail=$$(expr $${fail} + 1) ; \
|
||||||
fi ; done || true ; \
|
fi ; done || true ; \
|
||||||
if [ $${fail} == 0 ] ; \
|
if [ $${fail} == 0 ] ; \
|
||||||
then printf "\nResults: \e[0;32mOk\e[0m. %i succeeded; %i failed\n" $${success} $${fail} ; \
|
then echo -e '\nResults: \e[0;32mOk\e[0m.' "$${success} succeeded; $${fail} failed" ; \
|
||||||
else printf "\nResults: \e[0;31mFAILED\e[0m. %i succeeded; %i failed\n" $${success} $${fail} ; \
|
else echo -e '\nResults: \e[0;31mFAILED\e[0m.' "$${success} succeeded; $${fail} failed\n" ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
output:
|
output:
|
||||||
|
|
Loading…
Add table
Reference in a new issue