diff options
author | Sebastien Hertz <shertz@google.com> | 2016-04-11 21:02:22 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2016-04-11 21:02:49 +0200 |
commit | 05fca10c16c990e610c627f11dabb7552075ba05 (patch) | |
tree | adedce9a0b60ab57578b60514d7859932dd06fbc /tests | |
parent | e78a18cf874b4d9bb5db2ef7804b8ac576e56489 (diff) |
Update code coverage filter
Use specific coverage filters variables instead of LOCAL_JACK_FLAGS
so filters are only passed to Jack when code coverage is enabled.
Bug: 28014424
Change-Id: I300855169a6295b2e59fcfea63c8f366529fdc24
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/Android.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/wifitests/Android.mk b/tests/wifitests/Android.mk index d968460d3..4904bda16 100644 --- a/tests/wifitests/Android.mk +++ b/tests/wifitests/Android.mk @@ -95,10 +95,8 @@ jacoco_exclude := $(subst $(space),$(comma),$(patsubst %,%*,$(local_classes))) jacoco_include := com.android.server.wifi.*,android.net.wifi.* - -LOCAL_JACK_FLAGS := \ - -D jack.coverage.jacoco.include=$(jacoco_include) \ - -D jack.coverage.jacoco.exclude=$(jacoco_exclude) +LOCAL_JACK_COVERAGE_INCLUDE_FILTER := $(jacoco_include) +LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := $(jacoco_exclude) # wifi-service and services must be included here so that the latest changes # will be used when tests. Otherwise the tests would run against the installed |