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

Commit bb8ee662 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update mts task to make mts-${MODULE} test suites" am: 961ef44f am: 35c6de13

Original change: https://android-review.googlesource.com/c/platform/build/+/1493740

Change-Id: I68a61ad1f498d0503427b3b18aa82c60280d0c5c
parents dc73dc06 35c6de13
Loading
Loading
Loading
Loading
+14 −7
Original line number Diff line number Diff line
@@ -13,13 +13,20 @@
# limitations under the License.

ifneq ($(wildcard test/mts/README.md),)
test_suite_name := mts
test_suite_tradefed := mts-tradefed
test_suite_readme := test/mts/README.md

include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk
mts_test_suites :=
mts_test_suites += mts

$(foreach module, $(mts_modules), $(eval mts_test_suites += mts-$(module)))

$(foreach suite, $(mts_test_suites), \
	$(eval test_suite_name := $(suite)) \
	$(eval test_suite_tradefed := mts-tradefed) \
	$(eval test_suite_readme := test/mts/README.md) \
	$(eval include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk) \
	$(eval .PHONY: $(suite)) \
	$(eval $(suite): $(compatibility_zip)) \
	$(eval $(call dist-for-goals, $(suite), $(compatibility_zip))) \
)

.PHONY: mts
mts: $(compatibility_zip)
$(call dist-for-goals, mts, $(compatibility_zip))
endif