diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-13 22:36:12 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-13 22:36:12 +0100 |
| commit | f15b998595f0179d8e3719844c786f01aeb6fc3d (patch) | |
| tree | b71601d61f20910b94cf8e87757e7aea25e41c39 /lua/test.sh | |
| parent | b41bbbf323f422eb793e571221a9d37503627a34 (diff) | |
| download | vis-f15b998595f0179d8e3719844c786f01aeb6fc3d.tar.gz vis-f15b998595f0179d8e3719844c786f01aeb6fc3d.tar.xz | |
test/lua: print :help output and distinguish between fail/error
Diffstat (limited to 'lua/test.sh')
| -rwxr-xr-x | lua/test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
