mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 791025 - Add flag to re-use xpcshell files on a device from a previous run, r=jgriffin, DONTBUILD because NPOTB
This commit is contained in:
parent
8333b63a2c
commit
f7eac309e7
@ -22,9 +22,10 @@ class B2GXPCShellRemote(XPCShellRemote):
|
||||
|
||||
# Overridden
|
||||
def setupUtilities(self):
|
||||
# Ensure a fresh directory structure for our tests
|
||||
self.clean()
|
||||
self.device.mkDir(DEVICE_TEST_ROOT)
|
||||
if self.options.clean:
|
||||
# Ensure a fresh directory structure for our tests
|
||||
self.clean()
|
||||
self.device.mkDir(DEVICE_TEST_ROOT)
|
||||
|
||||
XPCShellRemote.setupUtilities(self)
|
||||
|
||||
@ -70,6 +71,12 @@ class B2GOptions(RemoteXPCShellOptions):
|
||||
type='string', dest='emu_path',
|
||||
help="Path to emulator folder (if different "
|
||||
"from b2gpath")
|
||||
|
||||
self.add_option('--no-clean', action='store_false',
|
||||
dest='clean',
|
||||
help="Do not clean TESTROOT. Saves [lots of] time")
|
||||
defaults['clean'] = True
|
||||
|
||||
defaults['emu_path'] = None
|
||||
|
||||
self.add_option('--emulator', action='store',
|
||||
|
Loading…
Reference in New Issue
Block a user