diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-17 12:43:04 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-18 15:01:58 +0200 |
commit | cdfe4e46aaae7e720dbf7b6626f1a80e81de4a7e (patch) | |
tree | 5e83505993ad40468b0df929ee858c6a1e741203 /scripts/main.mk | |
parent | ec97264431a3b29327332072b5328d81768547c9 (diff) | |
download | qtlocation-mapboxgl-cdfe4e46aaae7e720dbf7b6626f1a80e81de4a7e.tar.gz |
[tests] Added coverage report target 'check'
Issuing 'make check' now collects unit tests coverage data and generates
a report in HTML.
Diffstat (limited to 'scripts/main.mk')
-rw-r--r-- | scripts/main.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/main.mk b/scripts/main.mk index 5c28396f76..b11e9053a0 100644 --- a/scripts/main.mk +++ b/scripts/main.mk @@ -166,6 +166,9 @@ tidy: Ninja/compdb test-%: Makefile/test ./scripts/run_tests.sh "build/$(HOST_SLUG)/$(BUILDTYPE)/test" --gtest_filter=$* +check: Makefile/test + ./scripts/collect-coverage.sh + #### Helper targets ############################################################ .PHONY: print-env |