diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-19 15:31:29 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-19 17:40:30 +0200 |
commit | 6792d789521a104f78a9a702672672387831d78c (patch) | |
tree | e068269e371e6847f53739105aa44d80443a09e7 /test/test.gypi | |
parent | 6a2d910ccdb8a2521e1dbe4617e5bbdddb6cc4eb (diff) | |
download | qtlocation-mapboxgl-6792d789521a104f78a9a702672672387831d78c.tar.gz |
[tests] Use ENABLE_COVERAGE=1 envvar to enable coverage
This detaches coverage data collection from typical debug build.
Diffstat (limited to 'test/test.gypi')
-rw-r--r-- | test/test.gypi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test.gypi b/test/test.gypi index f648657c85..1842a807fb 100644 --- a/test/test.gypi +++ b/test/test.gypi @@ -129,7 +129,11 @@ 'configurations': { 'Debug': { 'xcode_settings': { - 'OTHER_LDFLAGS': [ '--coverage' ], + 'conditions': [ + ['enable_coverage=="1"', { + 'OTHER_LDFLAGS': [ '--coverage' ], + }], + ], }, }, }, |