From f15b998595f0179d8e3719844c786f01aeb6fc3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 13 Nov 2016 22:36:12 +0100 Subject: test/lua: print :help output and distinguish between fail/error --- lua/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/test.sh b/lua/test.sh index 1455f3d..fd2c088 100755 --- a/lua/test.sh +++ b/lua/test.sh @@ -10,6 +10,7 @@ export VIS_PATH=. export VIS_THEME=theme if [ $# -gt 0 ]; then + printf ":help\n:w help\n:qall\n" $VIS && cat help test_files=$* else test_files="$(find . -type f -name "*.in") basic_empty_file.in" @@ -31,7 +32,7 @@ for t in $test_files; do diff -u "$t".ref "$t".out > "$t".err fi else - printf "FAIL\n" + printf "ERROR\n" fi done -- cgit v1.2.3