From af68e408ec00f5b5cecc34c1ec506451ff7acf43 Mon Sep 17 00:00:00 2001 From: karenluo Date: Wed, 18 Sep 2019 18:29:27 -0700 Subject: [PATCH] Add App Compatibility Test Suite (C-Suite) to build Test: make csuite Change-Id: Id2a9c0acffef35e092485f598203fe335a24810c --- core/main.mk | 2 ++ core/tasks/csuite.mk | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 core/tasks/csuite.mk diff --git a/core/main.mk b/core/main.mk index d2cc47b15..5d9d2035e 100644 --- a/core/main.mk +++ b/core/main.mk @@ -77,6 +77,8 @@ $(shell mkdir -p $(EMPTY_DIRECTORY) && rm -rf $(EMPTY_DIRECTORY)/*) -include test/mts/tools/build/config.mk # VTS-Core-specific config. -include test/vts/tools/vts-core-tradefed/build/config.mk +# CSUITE-specific config. +-include test/app_compat/csuite/tools/build/config.mk # Clean rules .PHONY: clean-dex-files diff --git a/core/tasks/csuite.mk b/core/tasks/csuite.mk new file mode 100644 index 000000000..a8dba1d7b --- /dev/null +++ b/core/tasks/csuite.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 := csuite +test_suite_tradefed := csuite-tradefed +test_suite_readme := test/app_compat/csuite/README.md + +include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk + +.PHONY: csuite +csuite: $(compatibility_zip) +$(call dist-for-goals, csuite, $(compatibility_zip))