1// 2// Copyright (C) 2020 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17sh_test { 18 name: "vts_ltp_test_arm_64", 19 src: "phony_ltp_test_arm64.sh", 20 test_suites: ["vts"], 21 test_config: ":ltp_config_arm_64", 22} 23 24genrule { 25 name: "ltp_config_arm_64", 26 out: ["vts_ltp_test_arm_64.xml"], 27 tool_files: [ 28 "tools/gen_ltp_config.py", 29 ], 30 cmd: "export ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 64 False False $(out)", 31} 32 33sh_test { 34 name: "vts_ltp_test_arm_64_lowmem", 35 src: "phony_ltp_test_arm64_lowmem.sh", 36 test_suites: ["vts"], 37 test_config: ":ltp_config_arm_64_lowmem", 38} 39 40genrule { 41 name: "ltp_config_arm_64_lowmem", 42 out: ["vts_ltp_test_arm_64_lowmem.xml"], 43 tool_files: [ 44 "tools/gen_ltp_config.py", 45 ], 46 cmd: "export ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 64 True False $(out)", 47} 48 49sh_test { 50 name: "vts_ltp_test_arm_64_hwasan", 51 src: "phony_ltp_test_arm64_hwasan.sh", 52 test_suites: ["vts"], 53 test_config: ":ltp_config_arm_64_hwasan", 54} 55 56genrule { 57 name: "ltp_config_arm_64_hwasan", 58 out: ["vts_ltp_test_arm_64_hwasan.xml"], 59 tool_files: [ 60 "tools/gen_ltp_config.py", 61 ], 62 cmd: "export ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 64 False True $(out)", 63} 64 65sh_test { 66 name: "vts_ltp_test_arm_64_lowmem_hwasan", 67 src: "phony_ltp_test_arm64_lowmem_hwasan.sh", 68 test_suites: ["vts"], 69 test_config: ":ltp_config_arm_64_lowmem_hwasan", 70} 71 72genrule { 73 name: "ltp_config_arm_64_lowmem_hwasan", 74 out: ["vts_ltp_test_arm_64_lowmem_hwasan.xml"], 75 tool_files: [ 76 "tools/gen_ltp_config.py", 77 ], 78 cmd: "export ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 64 True True $(out)", 79} 80 81sh_test { 82 name: "vts_ltp_test_arm", 83 src: "phony_ltp_test_arm.sh", 84 test_suites: ["vts"], 85 test_config: ":ltp_config_arm", 86} 87 88genrule { 89 name: "ltp_config_arm", 90 out: ["vts_ltp_test_arm.xml"], 91 tool_files: [ 92 "tools/gen_ltp_config.py", 93 ], 94 cmd: "export ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 32 False False $(out)", 95} 96 97sh_test { 98 name: "vts_ltp_test_arm_lowmem", 99 src: "phony_ltp_test_arm_lowmem.sh", 100 test_suites: ["vts"], 101 test_config: ":ltp_config_arm_lowmem", 102} 103 104genrule { 105 name: "ltp_config_arm_lowmem", 106 out: ["vts_ltp_test_arm_lowmem.xml"], 107 tool_files: [ 108 "tools/gen_ltp_config.py", 109 ], 110 cmd: "export ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) arm 32 True False $(out)", 111} 112 113sh_test { 114 name: "vts_ltp_test_x86_64", 115 src: "phony_ltp_test_x86_64.sh", 116 test_suites: ["vts"], 117 test_config: ":ltp_config_x86_64", 118} 119 120genrule { 121 name: "ltp_config_x86_64", 122 out: ["vts_ltp_test_x86_64.xml"], 123 tool_files: [ 124 "tools/gen_ltp_config.py", 125 ], 126 cmd: "export ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) x86 64 False False $(out)", 127} 128 129sh_test { 130 name: "vts_ltp_test_x86", 131 src: "phony_ltp_test_x86.sh", 132 test_suites: ["vts"], 133 test_config: ":ltp_config_x86", 134} 135 136genrule { 137 name: "ltp_config_x86", 138 out: ["vts_ltp_test_x86.xml"], 139 tool_files: [ 140 "tools/gen_ltp_config.py", 141 ], 142 cmd: "export ANDROID_BUILD_TOP=$$(pwd) && python3 $(location tools/gen_ltp_config.py) x86 32 False False $(out)", 143} 144