Fix to invalid call to manifest.app_info

Change-Id: I7bb9f0b10ab814a6fd278d9c2ef1939d5ab9b671
This commit is contained in:
Jeff Davidson
2010-06-17 11:53:49 -07:00
parent 32b1e17b75
commit c1224d3b35

View File

@@ -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)