Skip to content
Snippets Groups Projects
Commit 55bf7799 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: fix passes/failure color

parent 002346ce
No related branches found
No related tags found
1 merge request!14Fix colors of run_tests
......@@ -2,6 +2,11 @@
History
=======
7.0.2
-----
Fix colors of passing/failures in run_tests.
7.0.1
-----
......
......@@ -88,7 +88,7 @@
if [[ $ok -gt 0 ]];
then
echo -e '${GREEN}Passes${RESET}:'
echo -e "${GREEN}Passes${RESET}:"
# Highlight the "OK"s in green (32).
GREP_COLOR='0;32' grep --color=always ' OK' $logfile || true
......@@ -96,7 +96,7 @@
if [[ $failed -gt 0 ]];
then
echo -e '${RED}Failures${RESET}:'
echo -e "${RED}Failures${RESET}:"
# Highlight the failure matches in red (31).
GREP_COLOR='0;31' grep --color=always "CRITICAL\|FAIL\(ED\|:\)" $logfile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment