From eb143344411d83e70c0021174aee1423b4189192 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 14 Aug 2023 23:52:59 +0100 Subject: [PATCH] tests.sh: fix warning --- tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests.sh b/tests.sh index 8a67a53..f48a07c 100755 --- a/tests.sh +++ b/tests.sh @@ -96,6 +96,8 @@ run_test() { else "${busted_path}" --coverage --no-auto-insulate --pattern ".test.lua" .tests; + # Delete any pre-existing coverage info from any prev runs + if [[ -d "luacov-html" ]]; then rm -r "luacov-html"; fi # If it doesn't begin with a dot, then Minetest *will* complain if [[ -d "luacov-html" ]]; then