diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-19 18:58:37 +0300 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-08-05 11:42:22 +0200 |
commit | 0fb3b6e333901df313d404ab7507cbb4fa6baf09 (patch) | |
tree | 8ce6fae9f6dd19d295036adf03c0a3d4eed3c090 /scripts | |
parent | 023ff83d881fb810f4428594ca476bb436b303f6 (diff) | |
download | qtlocation-mapboxgl-0fb3b6e333901df313d404ab7507cbb4fa6baf09.tar.gz |
[build] Re-enable coverage run
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/collect-coverage.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/collect-coverage.sh b/scripts/collect-coverage.sh index efc93769f2..cd650975c6 100755 --- a/scripts/collect-coverage.sh +++ b/scripts/collect-coverage.sh @@ -3,8 +3,8 @@ set -e set -o pipefail -if [ -z ${ENABLE_COVERAGE} ] ; then - echo "ENABLE_COVERAGE environment variable is not set, aborting." +if [ -z ${WITH_COVERAGE} ] ; then + echo "WITH_COVERAGE environment variable is not set, aborting." exit 1 fi @@ -32,7 +32,7 @@ lcov \ >/dev/null 2>&1 # Run all unit tests -make test-* +make # Collect coverage data and save it into coverage.info echo "Collecting coverage data..." |