summaryrefslogtreecommitdiff
path: root/android/bazel_handler_test.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2023-08-01 16:38:55 +0000
committer Cole Faust <colefaust@google.com> 2023-08-01 10:27:57 -0700
commitbc65a3fea8e596ebbcea774685c88327d85c64fe (patch)
treef4c853b4c2585d82fe5a207dbd25a367f8f99e3e /android/bazel_handler_test.go
parent09195f4ffd24c7bb67262045cb1b2a1a7ef1d2f6 (diff)
Revert^2 "Initial implementation of the bazel sandwich"
c13fad8181c9df93bf63462309da2f488f374c7c Change-Id: I478562c8fd89e62983feb5b52b62aad851d40f00
Diffstat (limited to 'android/bazel_handler_test.go')
-rw-r--r--android/bazel_handler_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/bazel_handler_test.go b/android/bazel_handler_test.go
index e08a4718a..9a3c8fc7c 100644
--- a/android/bazel_handler_test.go
+++ b/android/bazel_handler_test.go
@@ -181,7 +181,7 @@ func TestInvokeBazelPopulatesBuildStatements(t *testing.T) {
cmd := RuleBuilderCommand{}
ctx := builderContextForTests{PathContextForTesting(TestConfig("out", nil, "", nil))}
- createCommand(&cmd, got[0], "test/exec_root", "test/bazel_out", ctx, map[string]bazel.AqueryDepset{})
+ createCommand(&cmd, got[0], "test/exec_root", "test/bazel_out", ctx, map[string]bazel.AqueryDepset{}, "")
if actual, expected := cmd.buf.String(), testCase.command; expected != actual {
t.Errorf("expected: [%s], actual: [%s]", expected, actual)
}
@@ -224,7 +224,7 @@ func TestMixedBuildSandboxedAction(t *testing.T) {
cmd := RuleBuilderCommand{}
ctx := builderContextForTests{PathContextForTesting(TestConfig("out", nil, "", nil))}
- createCommand(&cmd, statement, "test/exec_root", "test/bazel_out", ctx, map[string]bazel.AqueryDepset{})
+ createCommand(&cmd, statement, "test/exec_root", "test/bazel_out", ctx, map[string]bazel.AqueryDepset{}, "")
// Assert that the output is generated in an intermediate directory
// fe05bcdcdc4928012781a5f1a2a77cbb5398e106 is the sha1 checksum of "one"
if actual, expected := cmd.outputs[0].String(), "out/soong/mixed_build_sbox_intermediates/fe05bcdcdc4928012781a5f1a2a77cbb5398e106/test/exec_root/one"; expected != actual {