diff options
author | Colin Cross <ccross@android.com> | 2017-10-10 23:07:38 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-10-10 23:28:43 -0700 |
commit | 6ccbc913e4f905c1d7ce70f78e098ecc5cd253c0 (patch) | |
tree | 1370e05a549e0deca864ae3aaa02f7445ba26ef4 /java/java_test.go | |
parent | 92430106c3c96d8a2cce2e4cb5a7746517c3965f (diff) | |
download | android_build_soong-6ccbc913e4f905c1d7ce70f78e098ecc5cd253c0.tar.gz android_build_soong-6ccbc913e4f905c1d7ce70f78e098ecc5cd253c0.tar.bz2 android_build_soong-6ccbc913e4f905c1d7ce70f78e098ecc5cd253c0.zip |
Let tests override environment
Pass an environment to TestConfig that will be used for
all Config.Getenv calls.
Test: none
Change-Id: I683cd9c9e0db61c9bfd2adb27fca78f558f225c4
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go index 40343408..a86973dd 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -52,7 +52,7 @@ func TestMain(m *testing.M) { } func testJava(t *testing.T, bp string) *android.TestContext { - config := android.TestArchConfig(buildDir) + config := android.TestArchConfig(buildDir, nil) ctx := android.NewTestArchContext() ctx.RegisterModuleType("android_app", android.ModuleFactoryAdaptor(AndroidAppFactory)) |