OSDN Git Service

Add com.android.keyguard to LOCAL_JACK_COVERAGE_INCLUDE_FILTER.
authorAllen Hair <allenhair@google.com>
Mon, 1 Apr 2019 23:32:00 +0000 (16:32 -0700)
committerAllen Hair <allenhair@google.com>
Wed, 3 Apr 2019 17:22:39 +0000 (17:22 +0000)
Also remove com.android.systemui.tests from
LOCAL_JACK_COVERAGE_EXCLUDE_FILTER because that package does not
actually exist.

Test: EMMA_INSTRUMENT=true mma
Bug: 129419144
Change-Id: Ifd502e9cf1b0e031b72da780bd58a942563ce858

packages/SystemUI/tests/Android.mk

index 83ec33c..5412cde 100644 (file)
@@ -71,8 +71,8 @@ local_space := $(local_empty) $(local_empty)
 # This appends a * to all classes and replace the space separators with commas.
 jacoco_exclude := $(subst $(space),$(comma),$(patsubst %,%*,$(local_classes)))
 
-LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.systemui.*
-LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := com.android.systemui.tests.*,$(jacoco_exclude)
+LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.systemui.*,com.android.keyguard.*
+LOCAL_JACK_COVERAGE_EXCLUDE_FILTER := $(jacoco_exclude)
 
 ifeq ($(EXCLUDE_SYSTEMUI_TESTS),)
     include $(BUILD_PACKAGE)