diff options
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/run_tests.sh b/run_tests.sh index 181f687..1b220b0 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# download shunit2 in order to run tests (see INSTALL.md) - +# The "tr" command fixes the ^M characters in the output. cd test -./test_suite.sh | tee /dev/stderr | grep -q 'success rate: 100%' +./test_suite.sh 2>&1 | tr '\r' '\n' > test.log +cat test.log | grep -q 'success rate: 100%' |