AI 143819: am: CL 143765 Rename tests.xml to test_defs.xml
  Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143819
diff --git a/testrunner/runtest.py b/testrunner/runtest.py
index a4df950..8d36591 100755
--- a/testrunner/runtest.py
+++ b/testrunner/runtest.py
@@ -41,12 +41,12 @@
 
   # file path to android core platform tests, relative to android build root
   # TODO move these test data files to another directory
-  _CORE_TEST_PATH = os.path.join("development", "testrunner", "tests.xml")
+  _CORE_TEST_PATH = os.path.join("development", "testrunner", "test_defs.xml")
 
   # vendor glob file path patterns to tests, relative to android
   # build root
   _VENDOR_TEST_PATH = os.path.join("vendor", "*", "tests", "testinfo",
-                                   "tests.xml")
+                                   "test_defs.xml")
 
   _RUNTEST_USAGE = (
       "usage: runtest.py [options] short-test-name[s]\n\n"
@@ -61,7 +61,7 @@
     """Processes command-line options."""
     # TODO error messages on once-only or mutually-exclusive options.
     user_test_default = os.path.join(os.environ.get("HOME"), ".android",
-                                     "tests.xml")
+                                     "test_defs.xml")
 
     parser = optparse.OptionParser(usage=self._RUNTEST_USAGE)
 
@@ -153,7 +153,7 @@
     try:
       known_tests = test_defs.TestDefinitions()
       known_tests.Parse(core_test_path)
-      # read all <android root>/vendor/*/tests/testinfo/tests.xml paths
+      # read all <android root>/vendor/*/tests/testinfo/test_defs.xml paths
       vendor_tests_pattern = os.path.join(self._root_path,
                                           self._VENDOR_TEST_PATH)
       test_file_paths = glob.glob(vendor_tests_pattern)