Files
santa/Testing/integration/BUILD
Matt W 72ed5ee4f9 Drop macos 11 (#1377)
* Drop macOS 11 support

* More changes after rebase, add basic macOS 15 support
2024-06-28 12:58:07 -04:00

47 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 = "12.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",
)