aboutsummaryrefslogtreecommitdiff
path: root/scripts/unittest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/unittest.sh')
-rw-r--r--scripts/unittest.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/unittest.sh b/scripts/unittest.sh
index f792308275..600d6d5b3c 100644
--- a/scripts/unittest.sh
+++ b/scripts/unittest.sh
@@ -3,4 +3,7 @@
(cd "$pkgroot/build" && make) || exit 1
eval "$(luarocks path)"
-busted --pattern=.moon ./test
+if [ -z "$BUSTED_OUTPUT_TYPE" ]; then
+ export BUSTED_OUTPUT_TYPE="utf_terminal"
+fi
+busted --pattern=.moon -o $BUSTED_OUTPUT_TYPE ./test