From 95b0913070f128ba0589f105bf36c938ed01df97 Mon Sep 17 00:00:00 2001 From: Chen Zhu Date: Thu, 23 May 2019 14:27:42 -0700 Subject: [PATCH] Add Mainline Test Suite (MTS). Test: m mts && mts-tradefed run mts Bug:123411735 Bug:126277867 Merged-In: Iba6bf89bd4457ed0f5c1eb3351bf5ffd6720441d Change-Id: I889ace72980619884cb35359b9a18d7b2053fed8 --- core/main.mk | 2 ++ core/tasks/mts.mk | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 core/tasks/mts.mk diff --git a/core/main.mk b/core/main.mk index 4e16c4afcb..608f11b51f 100644 --- a/core/main.mk +++ b/core/main.mk @@ -91,6 +91,8 @@ $(shell mkdir -p $(EMPTY_DIRECTORY) && rm -rf $(EMPTY_DIRECTORY)/*) -include test/sts/tools/sts-tradefed/build/config.mk # CTS-Instant-specific config -include test/suite_harness/tools/cts-instant-tradefed/build/config.mk +# MTS-specific config. +-include test/mts/tools/build/config.mk # Clean rules .PHONY: clean-dex-files diff --git a/core/tasks/mts.mk b/core/tasks/mts.mk new file mode 100644 index 0000000000..56b23901b7 --- /dev/null +++ b/core/tasks/mts.mk @@ -0,0 +1,23 @@ +# Copyright (C) 2019 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +test_suite_name := mts +test_suite_tradefed := mts-tradefed +test_suite_readme := test/mts/README.md + +include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk + +.PHONY: mts +mts: $(compatibility_zip) +$(call dist-for-goals, mts, $(compatibility_zip))