diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-03-04 18:26:54 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-03-04 18:26:54 +0100 |
| commit | b97c6d29b6a1c66c2596033cd255d6803939aba0 (patch) | |
| tree | 4d0f68ad1f76e7e94214a18281d3419d5ffff591 /lua/test.sh | |
| parent | 54dd1d2bf9a6cbfbd754e1e53fdda55f3acbbc15 (diff) | |
| download | vis-b97c6d29b6a1c66c2596033cd255d6803939aba0.tar.gz vis-b97c6d29b6a1c66c2596033cd255d6803939aba0.tar.xz | |
test/lua: convert tests to busted infrastructure
Diffstat (limited to 'lua/test.sh')
| -rwxr-xr-x | lua/test.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/test.sh b/lua/test.sh index 717a02d..4d885de 100755 --- a/lua/test.sh +++ b/lua/test.sh @@ -20,13 +20,12 @@ TESTS_RUN=0 if [ $# -gt 0 ]; then test_files=$* else - #test_files="$(find . -type f -name "*.in") basic_empty_file.in" - test_files="lines.in" + test_files="$(find . -type f -name '*.lua' -a ! -name visrc.lua)" fi for t in $test_files; do TESTS_RUN=$((TESTS_RUN + 1)) - t=${t%.in} + t=${t%.lua} t=${t#./} printf "%-30s" "$t" $VIS "$t.in" < /dev/null 2> /dev/null > "$t.busted" |
