# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1614089799 -3600 # Tue Feb 23 15:16:39 2021 +0100 # Node ID 55bf7799617362e05538a8b930ebb7b556bdc48c # Parent 002346ce5cfa96e78584ec0aa5ac351772fac9f9 🚑 fix passes/failure color diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -2,6 +2,11 @@ History ======= +7.0.2 +----- + +Fix colors of passing/failures in run_tests. + 7.0.1 ----- diff --git a/run_tests b/run_tests --- a/run_tests +++ b/run_tests @@ -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