blob: bd7652bf4025c16ecad243399f54f6597a8a44e4 [file] [log] [blame]
nelsonli3d51ac072019-07-24 16:25:05 +08001# Copyright (C) 2019 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Dan Shi155ffd42020-03-26 15:55:31 -070015test_suite_name := vts
16test_suite_tradefed := vts-tradefed
Dan Shi796ff4f2019-09-13 10:05:46 -070017test_suite_readme := test/vts/tools/vts-core-tradefed/README
Dan Shi5e062882020-02-18 14:59:22 -080018
Dan Shidadf7ca2022-04-12 15:47:30 -070019include $(BUILD_SYSTEM)/tasks/tools/vts-kernel-tests.mk
Dan Shi7d1f8ce2020-04-23 16:21:05 -070020
Edward Liawf8674712022-08-22 18:25:14 +000021ltp_copy_pairs := \
22 $(call target-native-copy-pairs,$(kernel_ltp_modules),$(kernel_ltp_vts_out))
23kselftest_copy_pairs := \
24 $(call target-native-copy-pairs,$(kernel_kselftest_modules),$(kernel_kselftest_vts_out))
Dan Shi7d1f8ce2020-04-23 16:21:05 -070025
Edward Liawf8674712022-08-22 18:25:14 +000026copy_ltp_tests := $(call copy-many-files,$(ltp_copy_pairs))
27copy_kselftest_tests := $(call copy-many-files,$(kselftest_copy_pairs))
Dan Shi7d1f8ce2020-04-23 16:21:05 -070028
Edward Liawf8674712022-08-22 18:25:14 +000029test_suite_extra_deps := $(copy_ltp_tests) $(copy_kselftest_tests)
Yihan Donge45ff682022-03-25 13:57:05 +080030
Dan Shi796ff4f2019-09-13 10:05:46 -070031include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk
Dan Shi796ff4f2019-09-13 10:05:46 -070032
Dan Shi155ffd42020-03-26 15:55:31 -070033.PHONY: vts
Dan Shifd480242021-10-04 11:04:14 -070034vts: $(compatibility_zip) $(compatibility_tests_list_zip)
35$(call dist-for-goals, vts, $(compatibility_zip) $(compatibility_tests_list_zip))
nelsonlie7b71a12019-08-14 09:47:21 +080036
Dan Shi155ffd42020-03-26 15:55:31 -070037tests: vts