Consolidate python version properties in mutator
Test: m Bug: 165114590 Change-Id: Iaf874f7098317a52827b113167e3dc1ed044e907
This commit is contained in:
@@ -395,10 +395,11 @@ func expectModule(t *testing.T, ctx *android.TestContext, buildDir, name, varian
|
||||
|
||||
if !reflect.DeepEqual(actualPyRunfiles, expectedPyRunfiles) {
|
||||
testErrs = append(testErrs, errors.New(fmt.Sprintf(
|
||||
`binary "%s" variant "%s" has unexpected pyRunfiles: %q!`,
|
||||
`binary "%s" variant "%s" has unexpected pyRunfiles: %q! (expected: %q)`,
|
||||
base.Name(),
|
||||
base.properties.Actual_version,
|
||||
actualPyRunfiles)))
|
||||
actualPyRunfiles,
|
||||
expectedPyRunfiles)))
|
||||
}
|
||||
|
||||
if base.srcsZip.String() != strings.Replace(expectedSrcsZip, "@prefix@", buildDir, 1) {
|
||||
|
Reference in New Issue
Block a user