diff options
| author | 2023-07-31 23:00:55 +0000 | |
|---|---|---|
| committer | 2023-07-31 23:00:55 +0000 | |
| commit | 61a27f80cd157f965ae1afe0e9f7dbb33aa3334d (patch) | |
| tree | f197ca8d06427c39b052c931b52d0a86cb4ca59b /android/bazel_handler_test.go | |
| parent | a7c5278fbee656f2c53f2e2d952824036b9e4638 (diff) | |
| parent | a20d94732923e8e9028019873c9b5a315d6f2bdf (diff) | |
Merge "Initial implementation of the bazel sandwich" into main
Diffstat (limited to 'android/bazel_handler_test.go')
| -rw-r--r-- | android/bazel_handler_test.go | 4 |
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 { |