summaryrefslogtreecommitdiff
path: root/tests/run_all.sh
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-10-23 15:22:12 +0200
committerKevin Chabowski <kevin@kch42.de>2013-10-23 15:22:12 +0200
commit7ae08e3c35760fd7c5cb00d9a8a27488090f952d (patch)
tree0abc5b34d9de9d3257c39cd47bad2ee209e2d066 /tests/run_all.sh
parentafaef24d4c358ebbbae551bcbd307da37a9d3fa7 (diff)
downloadste-7ae08e3c35760fd7c5cb00d9a8a27488090f952d.tar.gz
ste-7ae08e3c35760fd7c5cb00d9a8a27488090f952d.tar.bz2
ste-7ae08e3c35760fd7c5cb00d9a8a27488090f952d.zip
Added some tests.
Many of these break. Mostly because the way whitespace/newlines are added (or not added). This is terribly broken ATM... (It was okay with the old parser, I'll try to replicate that behaviour)
Diffstat (limited to 'tests/run_all.sh')
-rwxr-xr-xtests/run_all.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/run_all.sh b/tests/run_all.sh
index 75909d1..486454b 100755
--- a/tests/run_all.sh
+++ b/tests/run_all.sh
@@ -4,8 +4,8 @@ r=0
for t in test_*; do
cd $t
php ../test.php > have
- echo -n "$t: "
- if cmp want have; then
+ echo -ne "\e[1m$t\e[0m: "
+ if cmp -s want have; then
echo "OK"
rm *.transc.php
else
@@ -18,4 +18,4 @@ for t in test_*; do
cd ..
done
-exit $r \ No newline at end of file
+exit $r