diff options
author | 2019-07-02 11:31:37 -0700 | |
---|---|---|
committer | 2019-07-03 20:27:11 +0000 | |
commit | fa07821d882f55f02c9838ec7668afccbe7ea303 (patch) | |
tree | aeac3024f83c7d83e31a3cb917b121300917578f /android/mutator_test.go | |
parent | 9d42425f25b30c67b51b8c33751f2960b15a910d (diff) |
Remove ioutil.TempDir from each android/soong/android test
android_test.go already sets up a global buildDir, no need to create
one in each test.
Test: All soong tests
Change-Id: Ib85cbf78c604ad3cef64aa00b6bd812a81496e9e
Diffstat (limited to 'android/mutator_test.go')
-rw-r--r-- | android/mutator_test.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/android/mutator_test.go b/android/mutator_test.go index 4cef40006..76bb5c8c2 100644 --- a/android/mutator_test.go +++ b/android/mutator_test.go @@ -15,8 +15,6 @@ package android import ( - "io/ioutil" - "os" "reflect" "testing" @@ -56,12 +54,6 @@ func addMissingDependenciesMutator(ctx TopDownMutatorContext) { } func TestMutatorAddMissingDependencies(t *testing.T) { - buildDir, err := ioutil.TempDir("", "soong_mutator_test") - if err != nil { - t.Fatal(err) - } - defer os.RemoveAll(buildDir) - config := TestConfig(buildDir, nil) config.TestProductVariables.Allow_missing_dependencies = proptools.BoolPtr(true) |