blob: 06b7d9de3a1cf04ac433a2c3091eeb0b34c9c575 [file] [log] [blame]
Armelle Laine4c9d64a2024-11-20 04:42:35 +00001// Copyright (C) 2024 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
15package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17 default_team: "trendy_team_trusty",
18}
19
Armelle Laine4c9d64a2024-11-20 04:42:35 +000020prebuilt_etc {
21 name: "trusty_test_vm_config",
22 enabled: false,
Armelle Lainebd9358a2025-03-03 05:05:47 +000023 installable: false,
Armelle Laine4c9d64a2024-11-20 04:42:35 +000024 arch: {
Armelle Lainef50811b2025-01-23 00:40:04 +000025 arm64: {
26 src: "trusty-test_vm-config-arm64.json",
27 enabled: true,
28 },
Armelle Laine4c9d64a2024-11-20 04:42:35 +000029 x86_64: {
Armelle Lainef50811b2025-01-23 00:40:04 +000030 src: "trusty-test_vm-config-x86_64.json",
Armelle Laine4c9d64a2024-11-20 04:42:35 +000031 enabled: true,
32 },
33 },
34 filename: "trusty-test_vm-config.json",
35}
36
Armelle Laine4c9d64a2024-11-20 04:42:35 +000037sh_test {
Armelle Lainebd9358a2025-03-03 05:05:47 +000038 // VTS tests for all Trusted HALs defined
39 // under hardware/interfaces/security/see
40 name: "VtsSeeHalTargetTest",
Armelle Laine4c9d64a2024-11-20 04:42:35 +000041 src: "trusty-ut-ctrl.sh",
Armelle Lainef50811b2025-01-23 00:40:04 +000042 enabled: false,
43 arch: {
44 arm64: {
45 enabled: true,
46 },
47 x86_64: {
48 enabled: true,
49 },
50 },
Armelle Laine4c9d64a2024-11-20 04:42:35 +000051 filename_from_src: true,
52 data: [
Armelle Lainef50811b2025-01-23 00:40:04 +000053 ":trusty_test_vm_elf",
Armelle Laine4c9d64a2024-11-20 04:42:35 +000054 ":trusty_test_vm_config",
55 "trusty-vm-launcher.sh",
56 "trusty-wait-ready.sh",
Armelle Lainebd9358a2025-03-03 05:05:47 +000057 ":trusty-ut-ctrl.system",
Armelle Laine4c9d64a2024-11-20 04:42:35 +000058 ],
Armelle Laine4c9d64a2024-11-20 04:42:35 +000059 test_config_template: "AndroidTest.xml",
60 test_suites: [
61 "general-tests",
62 ],
Armelle Laine4c9d64a2024-11-20 04:42:35 +000063}