projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #309 from hulkholden/hidpi
[dygraphs.git]
/
test.sh
diff --git
a/test.sh
b/test.sh
index
f54d6e0
..
3194c72
100755
(executable)
--- a/
test.sh
+++ b/
test.sh
@@
-16,4
+16,9
@@
if [ $? != 0 ]; then
exit 1
fi
-phantomjs phantom-driver.js
+phantomjs phantom-driver.js $* | tee /tmp/test-results.txt
+trap "rm -f /tmp/test-results.txt" EXIT
+if grep -q 'FAIL' /tmp/test-results.txt; then
+ echo One or more tests failed.
+ exit 1
+fi