blob: c023ed4dbb854b99f0b6a7aadfd0c82058d605c6 [file] [log] [blame]
Leopold Schabela4516f92019-12-04 20:27:05 +00001
2sh_library(
3 name = "vm_deps",
Leopold Schabel5c80aca2019-10-22 15:48:58 +02004 data = [
Hendrik Hofstadt0d7c91e2019-10-23 21:44:47 +02005 "@//core:image",
6 "@//core:swtpm_data",
Leopold Schabel5c80aca2019-10-22 15:48:58 +02007 "@edk2//:firmware",
Leopold Schabela4516f92019-12-04 20:27:05 +00008 ]
9)
10
11sh_binary(
12 name = "launch",
13 srcs = ["launch.sh"],
14 deps = [":vm_deps"],
15)
16
17sh_library(
18 name = "test_deps",
19 data = [
20 ":launch",
21 "//:kubectl",
Leopold Schabel5c80aca2019-10-22 15:48:58 +020022 ],
Leopold Schabel5c80aca2019-10-22 15:48:58 +020023)
Leopold Schabel383d4bb2019-11-14 22:53:58 +010024
25sh_test(
26 name = "test_boot",
27 size = "small",
28 srcs = ["test_boot.sh"],
Leopold Schabel7670e672019-11-15 13:49:53 +010029 # expects wants a pty, which do not exist in the sandbox
Leopold Schabel383d4bb2019-11-14 22:53:58 +010030 tags = ["local"],
Leopold Schabela4516f92019-12-04 20:27:05 +000031 deps = [":test_deps", ":vm_deps"],
Leopold Schabel383d4bb2019-11-14 22:53:58 +010032)