summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2010-06-17 11:53:49 -0700
committerJeff Davidson <jpd@google.com>2010-06-17 11:53:49 -0700
commitc1224d3b353a0c09f6e791b7783d1691885e17f1 (patch)
treee1622d851bfaf1d36ea8666aee3835944374c9a9
parent32b1e17b7559bb6f1892c88ff2978acabd628ffc (diff)
downloadandroid_development-c1224d3b353a0c09f6e791b7783d1691885e17f1.tar.gz
android_development-c1224d3b353a0c09f6e791b7783d1691885e17f1.tar.bz2
android_development-c1224d3b353a0c09f6e791b7783d1691885e17f1.zip
Fix to invalid call to manifest.app_info
Change-Id: I7bb9f0b10ab814a6fd278d9c2ef1939d5ab9b671
-rwxr-xr-xtestrunner/create_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testrunner/create_test.py b/testrunner/create_test.py
index 2fc3a3cff..faea013c7 100755
--- a/testrunner/create_test.py
+++ b/testrunner/create_test.py
@@ -98,7 +98,7 @@ def _GenerateTestManifest(manifest, module_name, mapping=None):
IOError: tests/AndroidManifest.xml cannot be opened for writing
"""
# 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)
if os.path.exists(tests_manifest_path):
_PrintMessage("%s already exists, not overwritten" % tests_manifest_path)