Optionally overwrite package value in test config.
If package_name is set for an android_test module, package names in its AndroidTest.xml config need to be updated too. Test: test_config_fixer_test.py Fixes: 145011263 Change-Id: I52f17ef1d1902364b9bcfec4f6e246bd655dbf09
This commit is contained in:
@@ -85,3 +85,39 @@ python_binary_host {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
python_binary_host {
|
||||
name: "test_config_fixer",
|
||||
main: "test_config_fixer.py",
|
||||
srcs: [
|
||||
"test_config_fixer.py",
|
||||
"manifest.py",
|
||||
],
|
||||
version: {
|
||||
py2: {
|
||||
enabled: true,
|
||||
},
|
||||
py3: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
python_test_host {
|
||||
name: "test_config_fixer_test",
|
||||
main: "test_config_fixer_test.py",
|
||||
srcs: [
|
||||
"test_config_fixer_test.py",
|
||||
"test_config_fixer.py",
|
||||
"manifest.py",
|
||||
],
|
||||
version: {
|
||||
py2: {
|
||||
enabled: true,
|
||||
},
|
||||
py3: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
test_suites: ["general-tests"],
|
||||
}
|
Reference in New Issue
Block a user