Fix to invalid call to manifest.app_info
Change-Id: I7bb9f0b10ab814a6fd278d9c2ef1939d5ab9b671
This commit is contained in:
@@ -98,7 +98,7 @@ def _GenerateTestManifest(manifest, module_name, mapping=None):
|
|||||||
IOError: tests/AndroidManifest.xml cannot be opened for writing
|
IOError: tests/AndroidManifest.xml cannot be opened for writing
|
||||||
"""
|
"""
|
||||||
# skip if file already exists
|
# skip if file already exists
|
||||||
tests_path = "%s/%s" % (manifest.app_path, TestsConsts.TESTS_FOLDER)
|
tests_path = "%s/%s" % (manifest.GetAppPath(), TestsConsts.TESTS_FOLDER)
|
||||||
tests_manifest_path = "%s/%s" % (tests_path, manifest.FILENAME)
|
tests_manifest_path = "%s/%s" % (tests_path, manifest.FILENAME)
|
||||||
if os.path.exists(tests_manifest_path):
|
if os.path.exists(tests_manifest_path):
|
||||||
_PrintMessage("%s already exists, not overwritten" % tests_manifest_path)
|
_PrintMessage("%s already exists, not overwritten" % tests_manifest_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user