blob: 61a6ef52cf51e9fe23d3fe6ff06ec70d57e126da [file] [log] [blame]
Jiyong Parkf29fe392021-07-15 06:03:31 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5java_test_host {
6 name: "AuthFsHostTest",
7 srcs: ["java/**/*.java"],
8 libs: [
9 "tradefed",
10 "compatibility-tradefed",
11 "compatibility-host-util",
12 ],
13 static_libs: [
14 "VirtualizationTestHelper",
15 ],
16 test_suites: ["general-tests"],
Sam Delmerico9cf60502022-06-01 20:15:41 +000017 //TODO(b/235263148) use data_device_bins_64
18 data_device_bins_first: ["open_then_run"],
Jiyong Park29de5172022-02-08 00:37:05 +090019 per_testcase_directory: true,
Jiyong Parkf29fe392021-07-15 06:03:31 +000020 data: [
21 ":authfs_test_files",
Jiyong Parkf41a7c62022-02-04 16:22:56 +090022 ":MicrodroidTestApp",
Jiyong Parkf29fe392021-07-15 06:03:31 +000023 ],
24}
Victor Hsiehae67d3b2021-10-19 12:59:42 -070025
26rust_test {
Victor Hsiehc0f5fa72022-01-27 23:35:14 +000027 name: "open_then_run",
Victor Hsiehae67d3b2021-10-19 12:59:42 -070028 crate_name: "open_then_run",
29 srcs: ["open_then_run.rs"],
30 edition: "2018",
31 rustlibs: [
32 "libandroid_logger",
33 "libanyhow",
34 "libclap",
35 "libcommand_fds",
36 "liblog_rust",
Victor Hsieh0e8976f2021-11-05 16:54:24 +000037 "libnix",
Victor Hsiehae67d3b2021-10-19 12:59:42 -070038 ],
39 test_suites: ["general-tests"],
40 test_harness: false,
41}