diff options
Diffstat (limited to 'build/android/pylib/junit/test_runner.py')
-rw-r--r-- | build/android/pylib/junit/test_runner.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/android/pylib/junit/test_runner.py b/build/android/pylib/junit/test_runner.py index 35ac666..b85967b 100644 --- a/build/android/pylib/junit/test_runner.py +++ b/build/android/pylib/junit/test_runner.py @@ -22,9 +22,13 @@ class JavaTestRunner(object): def RunTest(self, _test): """Runs junit tests from |self._test_suite|.""" + command = ['java', + '-Drobolectric.dependency.dir=%s' % + os.path.join(constants.GetOutDirectory(), 'lib.java'), '-jar', os.path.join(constants.GetOutDirectory(), 'lib.java', '%s.jar' % self._test_suite)] + if self._test_filter: command.extend(['-gtest-filter', self._test_filter]) if self._package_filter: |