summaryrefslogtreecommitdiff
path: root/rust/clippy_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'rust/clippy_test.go')
-rw-r--r--rust/clippy_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/clippy_test.go b/rust/clippy_test.go
index e24f666df..e90564f63 100644
--- a/rust/clippy_test.go
+++ b/rust/clippy_test.go
@@ -66,7 +66,7 @@ func TestClippy(t *testing.T) {
for _, tc := range clippyLintTests {
t.Run("path="+tc.modulePath, func(t *testing.T) {
- config := android.TestArchConfig(buildDir, nil, bp, fs)
+ config := android.TestArchConfig(t.TempDir(), nil, bp, fs)
ctx := CreateTestContext(config)
ctx.Register()
_, errs := ctx.ParseFileList(".", []string{tc.modulePath + "Android.bp"})