Leopold Schabel | a4516f9 | 2019-12-04 20:27:05 +0000 | [diff] [blame^] | 1 | |
| 2 | sh_library( |
| 3 | name = "vm_deps", |
Leopold Schabel | 5c80aca | 2019-10-22 15:48:58 +0200 | [diff] [blame] | 4 | data = [ |
Hendrik Hofstadt | 0d7c91e | 2019-10-23 21:44:47 +0200 | [diff] [blame] | 5 | "@//core:image", |
| 6 | "@//core:swtpm_data", |
Leopold Schabel | 5c80aca | 2019-10-22 15:48:58 +0200 | [diff] [blame] | 7 | "@edk2//:firmware", |
Leopold Schabel | a4516f9 | 2019-12-04 20:27:05 +0000 | [diff] [blame^] | 8 | ] |
| 9 | ) |
| 10 | |
| 11 | sh_binary( |
| 12 | name = "launch", |
| 13 | srcs = ["launch.sh"], |
| 14 | deps = [":vm_deps"], |
| 15 | ) |
| 16 | |
| 17 | sh_library( |
| 18 | name = "test_deps", |
| 19 | data = [ |
| 20 | ":launch", |
| 21 | "//:kubectl", |
Leopold Schabel | 5c80aca | 2019-10-22 15:48:58 +0200 | [diff] [blame] | 22 | ], |
Leopold Schabel | 5c80aca | 2019-10-22 15:48:58 +0200 | [diff] [blame] | 23 | ) |
Leopold Schabel | 383d4bb | 2019-11-14 22:53:58 +0100 | [diff] [blame] | 24 | |
| 25 | sh_test( |
| 26 | name = "test_boot", |
| 27 | size = "small", |
| 28 | srcs = ["test_boot.sh"], |
Leopold Schabel | 7670e67 | 2019-11-15 13:49:53 +0100 | [diff] [blame] | 29 | # expects wants a pty, which do not exist in the sandbox |
Leopold Schabel | 383d4bb | 2019-11-14 22:53:58 +0100 | [diff] [blame] | 30 | tags = ["local"], |
Leopold Schabel | a4516f9 | 2019-12-04 20:27:05 +0000 | [diff] [blame^] | 31 | deps = [":test_deps", ":vm_deps"], |
Leopold Schabel | 383d4bb | 2019-11-14 22:53:58 +0100 | [diff] [blame] | 32 | ) |