| Index: build/android/pylib/gtest/test_package_apk.py
|
| diff --git a/build/android/pylib/gtest/test_package_apk.py b/build/android/pylib/gtest/test_package_apk.py
|
| index 4a9127856731cc2df03f2dd4e69c1b95e5031910..67571a4a4f98e9149edda9a03bbaaebe9d81e5db 100644
|
| --- a/build/android/pylib/gtest/test_package_apk.py
|
| +++ b/build/android/pylib/gtest/test_package_apk.py
|
| @@ -40,13 +40,8 @@ class TestPackageApk(TestPackage):
|
| self._package_info = constants.PACKAGE_INFO['gtest']
|
|
|
| def _CreateCommandLineFileOnDevice(self, device, options):
|
| - command_line_file = tempfile.NamedTemporaryFile()
|
| - # GTest expects argv[0] to be the executable path.
|
| - command_line_file.write(self.suite_name + ' ' + options)
|
| - command_line_file.flush()
|
| - device.PushChangedFiles([(
|
| - command_line_file.name,
|
| - self._package_info.cmdline_file)])
|
| + device.WriteFile(self._package_info.cmdline_file,
|
| + self.suite_name + ' ' + options)
|
|
|
| def _GetFifo(self):
|
| # The test.fifo path is determined by:
|
|
|