Merge "build: Default test modules to null-suite" am: b6655e0e1a am: f2f7c7d6f6

am: 4125716024

Change-Id: I529300c539b16e72e65885b72c80fa076ec11ff2
This commit is contained in:
Dan Shi 2018-02-17 01:12:30 +00:00 committed by android-build-merger
commit e2a2481619

View file

@ -494,6 +494,17 @@ endif
endif
endif
# For modules tagged as tests but lacking a suite tag, set null-suite as the default.
# We only support adding a default suite to native tests, native benchmarks, and instrumentation tests.
# This is because they are the only tests we currently auto-generate test configs for.
ifneq ($(filter $(my_module_tags),tests),)
ifndef LOCAL_COMPATIBILITY_SUITE
ifneq ($(filter NATIVE_TESTS NATIVE_BENCHMARK APPS, $(LOCAL_MODULE_CLASS)),)
LOCAL_COMPATIBILITY_SUITE := null-suite
endif
endif
endif
###########################################################
## Compatibility suite files.
###########################################################