summaryrefslogtreecommitdiff
path: root/android/namespace_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2019-06-12 20:19:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-06-12 20:19:55 +0000
commit72ea641dffd8b6d037d1529ea6946c726a624f14 (patch)
tree23aa2259de0717b13259ee789fd80ec0ac8ce085 /android/namespace_test.go
parent733728b42cfdf02ba8ecd41f17c470efdda7b4b8 (diff)
parentdc35e21124b684087aeb66fb74e9ca43f0e7c741 (diff)
Merge changes Ia17b2bcb,Ic71892c3,Id2b23b9e,I435ee7aa,I85112506, ...
* changes: Consolidate *MutatorContext and ModuleContext into BaseModuleContext Add test for missing defaults modules with AllowMissingDependencies Capture missing dependency error rules Share buildDir for android/soong/android tests Reimplement AddMissingDependencies Add GenerateAndroidBuildActions to DefaultsModuleBase
Diffstat (limited to 'android/namespace_test.go')
-rw-r--r--android/namespace_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/android/namespace_test.go b/android/namespace_test.go
index 9a791a534..51a0af225 100644
--- a/android/namespace_test.go
+++ b/android/namespace_test.go
@@ -16,8 +16,6 @@ package android
import (
"errors"
- "io/ioutil"
- "os"
"path/filepath"
"reflect"
"testing"
@@ -613,12 +611,6 @@ func mockFiles(bps map[string]string) (files map[string][]byte) {
}
func setupTestFromFiles(bps map[string][]byte) (ctx *TestContext, errs []error) {
- buildDir, err := ioutil.TempDir("", "soong_namespace_test")
- if err != nil {
- return nil, []error{err}
- }
- defer os.RemoveAll(buildDir)
-
config := TestConfig(buildDir, nil)
ctx = NewTestContext()