Searched refs:event_file (Results 1 – 4 of 4) sorted by relevance
/tools/asuite/atest/test_runners/ |
D | robolectric_test_runner_unittest.py | 73 event_file = tempfile.NamedTemporaryFile(delete=True) 74 subprocess.call("echo '%s' -n >> %s" %(data, event_file.name), shell=True) 76 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 88 event_file = tempfile.NamedTemporaryFile(delete=True) 89 subprocess.Popen("echo -n '%s' >> %s" %(data1, event_file.name), shell=True) 92 event_file.name, 95 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 112 event_file = tempfile.NamedTemporaryFile(delete=True) 113 subprocess.call("echo '%s' -n >> %s" %(data, event_file.name), shell=True) 115 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) [all …]
|
D | robolectric_test_runner.py | 119 with tempfile.NamedTemporaryFile(dir=self.results_dir) as event_file: 123 event_file) 132 event_file, 139 event_file=None): argument 151 event_file) 199 def generate_env_vars(test_info, extra_args, event_file=None): argument 226 if event_file: 227 env_var['EVENT_FILE_ROBOLECTRIC'] = event_file.name
|
/tools/asuite/atest-py2/test_runners/ |
D | robolectric_test_runner_unittest.py | 69 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True) 70 subprocess.call("echo '%s' -n >> %s" %(data, event_file.name), shell=True) 72 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 84 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True) 85 subprocess.Popen("echo -n '%s' >> %s" %(data1, event_file.name), shell=True) 88 event_file.name, 91 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) 105 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True) 106 subprocess.call("echo '%s' -n >> %s" %(data, event_file.name), shell=True) 108 self.suite_tr. _exec_with_robo_polling(event_file, robo_proc, mock_pe) [all …]
|
D | robolectric_test_runner.py | 114 dir=self.results_dir) as event_file: 118 event_file) 126 event_file, 132 def _get_full_build_environ(self, test_info=None, extra_args=None, event_file=None): argument 143 event_file) 188 def generate_env_vars(test_info, extra_args, event_file=None): argument 214 if event_file: 215 env_var['EVENT_FILE_ROBOLECTRIC'] = event_file.name
|