MCPcopy Create free account
hub / github.com/defold/defold / _run

Method _run

build_tools/build_android.py:205–215  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

203 raise RuntimeError('android-test: missing library root context, provide cwd or call prepare() first')
204
205 def _run(self, args):
206 cmd = list(self._adb)
207 if self._device:
208 cmd.extend(['-s', self._device])
209 cmd.extend(args)
210 self._log('android-test: %s' % subprocess.list2cmdline(cmd))
211 try:
212 return subprocess.call(cmd, env = self._env)
213 except FileNotFoundError:
214 self._log('android-test: adb not found, set ADB or put adb on PATH')
215 raise
216
217 def _push_file(self, source, device_path):
218 device_parent = os.path.dirname(device_path)

Callers 5

_push_fileMethod · 0.95
_push_source_pathMethod · 0.95
prepareMethod · 0.95
stopMethod · 0.95
run_testMethod · 0.95

Calls 3

_logMethod · 0.95
extendMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected