aboutsummaryrefslogtreecommitdiff
path: root/run_tests.sh
diff options
context:
space:
mode:
authorPeter Carbonetto2017-07-18 13:35:11 -0500
committerPeter Carbonetto2017-07-18 13:35:11 -0500
commit8de8f701755b3dc4c042591541aa86bfda02f36b (patch)
treeca49ffd2b0570ed85a8b42a8dd5a09ef6dbfbb55 /run_tests.sh
parent66e2499abdeb663034721425ad6e8efb3340ad99 (diff)
downloadpangemma-8de8f701755b3dc4c042591541aa86bfda02f36b.tar.gz
Fixed failing test. New test report summary:
tests passed: 13 tests failed: 0 tests total: 13 success rate: 100%
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh6
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%'