Merge "Add Mainline Test Suite (MTS) to build." into qt-dev

This commit is contained in:
Chen Zhu 2019-07-12 18:05:00 +00:00 committed by Android (Google) Code Review
commit 3538cebfc7
2 changed files with 27 additions and 0 deletions

View File

@ -102,6 +102,8 @@ $(shell mkdir -p $(EMPTY_DIRECTORY) && rm -rf $(EMPTY_DIRECTORY)/*)
-include test/sts/tools/sts-tradefed/build/config.mk -include test/sts/tools/sts-tradefed/build/config.mk
# CTS-Instant-specific config # CTS-Instant-specific config
-include test/suite_harness/tools/cts-instant-tradefed/build/config.mk -include test/suite_harness/tools/cts-instant-tradefed/build/config.mk
# MTS-specific config.
-include test/mts/tools/build/config.mk
# Clean rules # Clean rules
.PHONY: clean-dex-files .PHONY: clean-dex-files

25
core/tasks/mts.mk Normal file
View File

@ -0,0 +1,25 @@
# 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.
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
.PHONY: mts
mts: $(compatibility_zip)
$(call dist-for-goals, mts, $(compatibility_zip))
endif