diff options
| author | Brett Chabot <brettchabot@android.com> | 2011-08-01 16:11:43 -0700 |
|---|---|---|
| committer | Brett Chabot <brettchabot@android.com> | 2011-08-01 16:30:37 -0700 |
| commit | b0fd2cf9421122462eee3263d81580a21ef2ce22 (patch) | |
| tree | 987257b46d1b8ff3b7c1d2039fa9bd15704c9673 /testrunner/test_defs/gtest.py | |
| parent | c77b8ff6ace4d3cfbb855979535966e78791ee90 (diff) | |
| download | android_development-b0fd2cf9421122462eee3263d81580a21ef2ce22.tar.gz android_development-b0fd2cf9421122462eee3263d81580a21ef2ce22.tar.bz2 android_development-b0fd2cf9421122462eee3263d81580a21ef2ce22.zip | |
Fix runtest --path for package-private frameworks tests.
A recent change to runtest resulted in absolute paths incorrectly
being used for a tests build path. This broke the special logic
for frameworks/base tests, since it assumed relative build paths.
Change build paths back to relative paths.
Bug 5105885
Change-Id: I83a26be25294d501cca73eb1b88a7364131b2caf
Diffstat (limited to 'testrunner/test_defs/gtest.py')
| -rw-r--r-- | testrunner/test_defs/gtest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testrunner/test_defs/gtest.py b/testrunner/test_defs/gtest.py index 7de674b61..094ceea1d 100644 --- a/testrunner/test_defs/gtest.py +++ b/testrunner/test_defs/gtest.py @@ -59,9 +59,9 @@ class GTestSuite(test_suite.AbstractTestSuite): class GTestFactory(test_suite.AbstractTestFactory): - def __init__(self, test_root_path, upstream_build_path=None): + def __init__(self, test_root_path, build_path): test_suite.AbstractTestFactory.__init__(self, test_root_path, - upstream_build_path=upstream_build_path) + build_path) def CreateTests(self, sub_tests_path=None): """Create tests found in sub_tests_path. |
