@@ -6,16 +6,16 @@ pushd core-tests/
66
77popd
88
9−if [ -z $( git describe --tags --exact-match 2>/dev/null ) ]
9+if [ -z $( git describe --tags --exact-match 2>/dev/null ) && -n "$COVERAGE_SUITE" ]
1010then
1111 cabal install hpc-coveralls
12− case "$SUITE" in
12+ case "$COVERAGE_SUITE" in
1313 "tests")
1414 hpc-coveralls --exclude-dir=dist/build/autogen --exclude-dir=tests tests;;
1515 "psci-tests")
1616 hpc-coveralls --exclude-dir=dist/build/autogen --exclude-dir=src --exclude-dir=psci/tests psci-tests;;
1717 *)
18− echo "unrecognised test suite $SUITE"
18+ echo "unrecognised test suite $COVERAGE_SUITE"
1919 exit 1;;
2020 esac
2121fi