mirror of
https://github.com/google/santa.git
synced 2026-01-15 01:08:12 -05:00
* e2e test usb mounting * no poweroff * no start * drive usb via sync server since its up sudo santactl status sudo? * revert nostart/nopoweroff * bump VMCLI minimum os version
45 lines
1.0 KiB
Python
45 lines
1.0 KiB
Python
load("//:helper.bzl", "run_command", "santa_unit_test")
|
|
|
|
package(default_visibility = ["//:santa_package_group"])
|
|
|
|
licenses(["notice"])
|
|
|
|
santa_unit_test(
|
|
name = "SNTExecTest",
|
|
srcs = [
|
|
"SNTExecTest.m",
|
|
],
|
|
data = [
|
|
"//Source/santad/testdata:binaryrules_testdata",
|
|
],
|
|
minimum_os_version = "11.0",
|
|
deps = [],
|
|
)
|
|
|
|
test_suite(
|
|
name = "integration_tests",
|
|
tests = [
|
|
":SNTExecTest",
|
|
],
|
|
)
|
|
|
|
run_command(
|
|
name = "install_profile",
|
|
cmd = "osascript $${BUILD_WORKSPACE_DIRECTORY}/Testing/integration/install_profile.scpt $${BUILD_WORKSPACE_DIRECTORY}/$$1",
|
|
)
|
|
|
|
run_command(
|
|
name = "allow_sysex",
|
|
cmd = "osascript $${BUILD_WORKSPACE_DIRECTORY}/Testing/integration/allow_sysex.scpt",
|
|
)
|
|
|
|
run_command(
|
|
name = "dismiss_santa_popup",
|
|
cmd = "osascript $${BUILD_WORKSPACE_DIRECTORY}/Testing/integration/dismiss_santa_popup.scpt",
|
|
)
|
|
|
|
run_command(
|
|
name = "dismiss_usb_popup",
|
|
cmd = "osascript $${BUILD_WORKSPACE_DIRECTORY}/Testing/integration/dismiss_usb_popup.scpt",
|
|
)
|