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 /platform/linux | |
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 'platform/linux')
-rw-r--r-- | platform/linux/mapboxgl-app.gypi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/linux/mapboxgl-app.gypi b/platform/linux/mapboxgl-app.gypi index 4f9c6317c9..19c17f6249 100644 --- a/platform/linux/mapboxgl-app.gypi +++ b/platform/linux/mapboxgl-app.gypi @@ -51,7 +51,11 @@ 'configurations': { 'Debug': { 'xcode_settings': { - 'OTHER_LDFLAGS': [ '--coverage' ], + 'conditions': [ + ['enable_coverage=="1"', { + 'OTHER_LDFLAGS': [ '--coverage' ], + }], + ], }, }, }, |