From 69967ccaba2a173f6589192b0cce7c4cc30cab50 Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Fri, 7 Mar 2014 15:57:07 +0100 Subject: use more verbose output type for unittests on travis --- scripts/travis.sh | 1 + scripts/unittest.sh | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/travis.sh b/scripts/travis.sh index c493da29b5..7292953710 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -1,6 +1,7 @@ #!/bin/sh -e export VALGRIND_CHECK=1 +export BUSTED_OUTPUT_TYPE="TAP" make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$PWD/dist" make make unittest 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 -- cgit