mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 17:12:59 +00:00
tests.sh: fix warning
This commit is contained in:
parent
448cf0d674
commit
eb14334441
1 changed files with 2 additions and 0 deletions
2
tests.sh
2
tests.sh
|
@ -96,6 +96,8 @@ run_test() {
|
||||||
else
|
else
|
||||||
"${busted_path}" --coverage --no-auto-insulate --pattern ".test.lua" .tests;
|
"${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 it doesn't begin with a dot, then Minetest *will* complain
|
||||||
if [[ -d "luacov-html" ]]; then
|
if [[ -d "luacov-html" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue