From 8a366cebda597e960f1f49e245785f8fdedff0a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 28 Dec 2016 16:16:26 +0100 Subject: Make sure that info messages are printed before test case is run Useful for hanging tests also redirect stdout to /dev/null for better output on Travis. --- lua/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/test.sh') diff --git a/lua/test.sh b/lua/test.sh index 4209f5c..d0e6a1a 100755 --- a/lua/test.sh +++ b/lua/test.sh @@ -18,9 +18,10 @@ for t in $test_files; do TESTS_RUN=$((TESTS_RUN + 1)) t=${t%.in} t=${t#./} - $VIS "$t".in < /dev/null 2> /dev/null - printf "%-30s" "$t" + + $VIS "$t".in < /dev/null > /dev/null 2>&1 + if [ -e "$t".out ]; then if cmp -s "$t".ref "$t".out 2> /dev/null; then printf "PASS\n" -- cgit v1.2.3