Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2f7c7d6 authored by Dan Shi's avatar Dan Shi Committed by android-build-merger
Browse files

Merge "build: Default test modules to null-suite"

am: b6655e0e

Change-Id: I0de87e2097146c9c56e8d34a5418a0e86b05c20b
parents 44cca076 b6655e0e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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.
###########################################################