Files
santa/Testing/integration/BUILD
Nick Gregory cd6c0e7120 Introduce end-to-end testing (#919)
* initial e2e work

* switch to entitlements property instead of codesignopts hack

* bring moroz patches in

* go ahead and switch to upstream

* lint

* no need to install gcs every time

* codeowners

* add comments

* move to new e2e workflow

* rename e2e workflow
2022-12-14 11:15:55 -05:00

35 lines
750 B
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",
)