aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-30 21:18:29 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-30 21:18:29 +0100
commit6d922985a29316de496088172926d39e6bdf8003 (patch)
tree930d5318cfe48259a8314a36d23ba65f03214b19
parent2300572deccb81c833ce1a3b5e681ecc6d5f7520 (diff)
downloadvis-6d922985a29316de496088172926d39e6bdf8003.tar.gz
vis-6d922985a29316de496088172926d39e6bdf8003.tar.xz
Revert "Make sure that info messages are printed before test case is run"
This reverts commit 8a366cebda597e960f1f49e245785f8fdedff0a6. Travis is strange.
-rwxr-xr-xlua/test.sh5
-rwxr-xr-xsam/test.sh2
-rwxr-xr-xvis/test.sh5
3 files changed, 5 insertions, 7 deletions
diff --git a/lua/test.sh b/lua/test.sh
index d0e6a1a..4209f5c 100755
--- a/lua/test.sh
+++ b/lua/test.sh
@@ -18,10 +18,9 @@ for t in $test_files; do
TESTS_RUN=$((TESTS_RUN + 1))
t=${t%.in}
t=${t#./}
- printf "%-30s" "$t"
-
- $VIS "$t".in < /dev/null > /dev/null 2>&1
+ $VIS "$t".in < /dev/null 2> /dev/null
+ printf "%-30s" "$t"
if [ -e "$t".out ]; then
if cmp -s "$t".ref "$t".out 2> /dev/null; then
printf "PASS\n"
diff --git a/sam/test.sh b/sam/test.sh
index 3b3a1a5..0d904ff 100755
--- a/sam/test.sh
+++ b/sam/test.sh
@@ -73,7 +73,7 @@ for t in $TESTS; do
printf "Running test %s with vis ... " "$t"
- $VIS "+,{ $NL $CMD $NL wq! $VIS_OUT $NL }" "$IN" >/dev/null 2>&1
+ $VIS "+,{ $NL $CMD $NL wq! $VIS_OUT $NL }" "$IN" 2>/dev/null
if [ $? -ne 0 -o ! -e "$VIS_OUT" ]; then
printf "ERROR\n"
elif cmp -s "$REF" "$VIS_OUT"; then
diff --git a/vis/test.sh b/vis/test.sh
index 852a975..3b80818 100755
--- a/vis/test.sh
+++ b/vis/test.sh
@@ -18,10 +18,9 @@ for t in $test_files; do
TESTS_RUN=$((TESTS_RUN + 1))
t=${t%.in}
t=${t#./}
- printf "%-50s" "$t"
-
- $VIS "$t".in < /dev/null > /dev/null 2>&1
+ $VIS "$t".in < /dev/null 2> /dev/null
+ printf "%-50s" "$t"
if [ -e "$t".out ]; then
if cmp -s "$t".ref "$t".out 2> /dev/null; then
printf "PASS\n"