From 438b31497d91becdec95d06ff62c2d86184fa669 Mon Sep 17 00:00:00 2001 From: Jeremy Bobbin Date: Fri, 27 Dec 2024 11:53:30 +0100 Subject: no longer depend on lua-busted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matěj Cepl --- test/lua/test.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'test/lua/test.sh') diff --git a/test/lua/test.sh b/test/lua/test.sh index 4d885de..db7fb1e 100755 --- a/test/lua/test.sh +++ b/test/lua/test.sh @@ -9,11 +9,6 @@ if ! $VIS -v | grep '+lua' >/dev/null 2>&1; then exit 0 fi -type busted >/dev/null 2>&1 || { - echo "busted(1) not found, skipping tests" - exit 0 -} - TESTS_OK=0 TESTS_RUN=0 @@ -28,11 +23,11 @@ for t in $test_files; do t=${t%.lua} t=${t#./} printf "%-30s" "$t" - $VIS "$t.in" < /dev/null 2> /dev/null > "$t.busted" + $VIS "$t.in" < /dev/null 2> /dev/null > "$t.out" if [ $? -ne 0 ]; then printf "FAIL\n" - cat "$t.busted" + cat "$t.out" else TESTS_OK=$((TESTS_OK + 1)) printf "OK\n" -- cgit v1.2.3