mirror of
https://github.com/google/santa.git
synced 2026-04-24 03:00:12 -04:00
* 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
35 lines
750 B
Python
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",
|
|
)
|