nelsonli | 3d51ac07 | 2019-07-24 16:25:05 +0800 | [diff] [blame] | 1 | # 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 Shi | 155ffd4 | 2020-03-26 15:55:31 -0700 | [diff] [blame] | 15 | test_suite_name := vts |
| 16 | test_suite_tradefed := vts-tradefed |
Dan Shi | 796ff4f | 2019-09-13 10:05:46 -0700 | [diff] [blame] | 17 | test_suite_readme := test/vts/tools/vts-core-tradefed/README |
Dan Shi | 5e06288 | 2020-02-18 14:59:22 -0800 | [diff] [blame] | 18 | |
Dan Shi | dadf7ca | 2022-04-12 15:47:30 -0700 | [diff] [blame] | 19 | include $(BUILD_SYSTEM)/tasks/tools/vts-kernel-tests.mk |
Dan Shi | 7d1f8ce | 2020-04-23 16:21:05 -0700 | [diff] [blame] | 20 | |
Edward Liaw | f867471 | 2022-08-22 18:25:14 +0000 | [diff] [blame] | 21 | ltp_copy_pairs := \ |
| 22 | $(call target-native-copy-pairs,$(kernel_ltp_modules),$(kernel_ltp_vts_out)) |
| 23 | kselftest_copy_pairs := \ |
| 24 | $(call target-native-copy-pairs,$(kernel_kselftest_modules),$(kernel_kselftest_vts_out)) |
Dan Shi | 7d1f8ce | 2020-04-23 16:21:05 -0700 | [diff] [blame] | 25 | |
Edward Liaw | f867471 | 2022-08-22 18:25:14 +0000 | [diff] [blame] | 26 | copy_ltp_tests := $(call copy-many-files,$(ltp_copy_pairs)) |
| 27 | copy_kselftest_tests := $(call copy-many-files,$(kselftest_copy_pairs)) |
Dan Shi | 7d1f8ce | 2020-04-23 16:21:05 -0700 | [diff] [blame] | 28 | |
Edward Liaw | f867471 | 2022-08-22 18:25:14 +0000 | [diff] [blame] | 29 | test_suite_extra_deps := $(copy_ltp_tests) $(copy_kselftest_tests) |
Yihan Dong | e45ff68 | 2022-03-25 13:57:05 +0800 | [diff] [blame] | 30 | |
Dan Shi | 796ff4f | 2019-09-13 10:05:46 -0700 | [diff] [blame] | 31 | include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk |
Dan Shi | 796ff4f | 2019-09-13 10:05:46 -0700 | [diff] [blame] | 32 | |
Dan Shi | 155ffd4 | 2020-03-26 15:55:31 -0700 | [diff] [blame] | 33 | .PHONY: vts |
Dan Shi | fd48024 | 2021-10-04 11:04:14 -0700 | [diff] [blame] | 34 | vts: $(compatibility_zip) $(compatibility_tests_list_zip) |
| 35 | $(call dist-for-goals, vts, $(compatibility_zip) $(compatibility_tests_list_zip)) |
nelsonli | e7b71a1 | 2019-08-14 09:47:21 +0800 | [diff] [blame] | 36 | |
Dan Shi | 155ffd4 | 2020-03-26 15:55:31 -0700 | [diff] [blame] | 37 | tests: vts |