From c2e074c081083604623fa61f7031f5c467e7e308 Mon Sep 17 00:00:00 2001 From: Alan Ma Date: Wed, 16 May 2018 14:39:48 -0700 Subject: [PATCH] Add a build task for cts_instant Test: With other CLs in the topic, run 'm -j30 cts_instant' bug: 79750671 Change-Id: Ib0381017300108a22919892070540b9e7f92aaf9 --- core/main.mk | 2 ++ core/tasks/cts_instant.mk | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 core/tasks/cts_instant.mk diff --git a/core/main.mk b/core/main.mk index 033a2d9148..1946edb78f 100644 --- a/core/main.mk +++ b/core/main.mk @@ -96,6 +96,8 @@ $(shell mkdir -p $(EMPTY_DIRECTORY) && rm -rf $(EMPTY_DIRECTORY)/*) -include tools/tradefederation/build/suites/general-tests/config.mk # STS-specific config. -include test/sts/tools/sts-tradefed/build/config.mk +# CTS-Instant-specific config +-include test/suite_harness/tools/cts-instant-tradefed/build/config.mk # Clean rules .PHONY: clean-dex-files diff --git a/core/tasks/cts_instant.mk b/core/tasks/cts_instant.mk new file mode 100644 index 0000000000..18f1db308c --- /dev/null +++ b/core/tasks/cts_instant.mk @@ -0,0 +1,25 @@ +# Copyright (C) 2018 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 := cts_instant +test_suite_tradefed := cts-instant-tradefed +test_suite_dynamic_config := test/suite_harness/tools/cts-instant-tradefed/DynamicConfig.xml +test_suite_readme := test/suite_harness/tools/cts-instant-tradefed/README + +include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk + +.PHONY: cts_instant +cts_instant: $(compatibility_zip) +$(call dist-for-goals, cts_instant, $(compatibility_zip)) +