From 8de8f701755b3dc4c042591541aa86bfda02f36b Mon Sep 17 00:00:00 2001 From: Peter Carbonetto Date: Tue, 18 Jul 2017 13:35:11 -0500 Subject: Fixed failing test. New test report summary: tests passed: 13 tests failed: 0 tests total: 13 success rate: 100% --- run_tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'run_tests.sh') 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%' -- cgit v1.2.3