summaryrefslogtreecommitdiff
path: root/android/sh_binary_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/sh_binary_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/sh_binary_test.go')
-rw-r--r--android/sh_binary_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/android/sh_binary_test.go b/android/sh_binary_test.go
index becb35a21..c99e18c3e 100644
--- a/android/sh_binary_test.go
+++ b/android/sh_binary_test.go
@@ -1,19 +1,11 @@
package android
import (
- "io/ioutil"
- "os"
"reflect"
"testing"
)
func testShBinary(t *testing.T, bp string) (*TestContext, Config) {
- buildDir, err := ioutil.TempDir("", "soong_sh_binary_test")
- if err != nil {
- t.Fatal(err)
- }
- defer os.RemoveAll(buildDir)
-
config := TestArchConfig(buildDir, nil)
ctx := NewTestArchContext()