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

Commit 78afe94a authored by Simran Basi's avatar Simran Basi Committed by android-build-merger
Browse files

Merge "build/make: Add default suite for all native tests/benchmarks" am: f74c0273 am: 4fbe95be

am: d8ef044f

Change-Id: I8a8c4d3d5eb095a7e86190e30ff51edd057e3a01
parents c5d2584f d8ef044f
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -494,12 +494,15 @@ endif
endif
endif

# For modules tagged as tests but lacking a suite tag, set null-suite as the default.
# For test modules that lack 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)),)
ifneq ($(filter NATIVE_TESTS NATIVE_BENCHMARK, $(LOCAL_MODULE_CLASS)),)
LOCAL_COMPATIBILITY_SUITE := null-suite
endif
ifneq ($(filter APPS, $(LOCAL_MODULE_CLASS)),)
ifneq ($(filter $(my_module_tags),tests),)
LOCAL_COMPATIBILITY_SUITE := null-suite
endif
endif