Don't redirect grep output to /dev/null, otherwise we lose reference of the tests log

This commit is contained in:
Fabio Manganiello 2021-02-27 20:57:59 +01:00
parent 6f67fb67d4
commit d6c236a5b1

View file

@ -32,7 +32,7 @@ run_tests() {
} }
check_test_results() { check_test_results() {
failed_tests=$(grep -e '^FAILED' "$TEST_LOG" >/dev/null) failed_tests=$(grep -e '^FAILED' "$TEST_LOG")
ret=0 ret=0
if [[ ! -z "$failed_tests" ]]; then if [[ ! -z "$failed_tests" ]]; then