aboutsummaryrefslogtreecommitdiffstats
path: root/python/python_test.go
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2017-05-10 13:37:54 -0700
committerNan Zhang <nanzhang@google.com>2017-05-17 11:26:00 -0700
commit5323f8e32f9e08def4a68608510062c464ed4c1e (patch)
tree5c44e3cc7343a74e054171ee72c94856ce6257d1 /python/python_test.go
parent2c13abc95e3e2c6c12fff6aa42262ef3296c2a1b (diff)
downloadandroid_build_soong-5323f8e32f9e08def4a68608510062c464ed4c1e.tar.gz
android_build_soong-5323f8e32f9e08def4a68608510062c464ed4c1e.tar.bz2
android_build_soong-5323f8e32f9e08def4a68608510062c464ed4c1e.zip
Add python_test_host module.
bug: 31676493 Test: created py_test modules in real folder. and ran 'mma'. Change-Id: I22aa2fad74b11e4a31ea7a4c4a4f0ea64cd3fc94
Diffstat (limited to 'python/python_test.go')
-rw-r--r--python/python_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python_test.go b/python/python_test.go
index c6b84519..3f719f8e 100644
--- a/python/python_test.go
+++ b/python/python_test.go
@@ -370,7 +370,7 @@ func expectModule(t *testing.T, ctx *blueprint.Context, buildDir, name, variant
if !baseOk {
t.Fatalf("%s is not Python module!", name)
}
- sub, subOk := base.subModule.(*PythonBinary)
+ sub, subOk := base.subModule.(*pythonBinaryBase)
if !subOk {
t.Fatalf("%s is not Python binary!", name)
}