зеркало из https://github.com/mozilla/gecko-dev.git
Bug 821012 - Add busybox args to b2g reftest and mochitest harnesses, r=jgriffin, DONTBUILD a=NPOTB,test-only
This commit is contained in:
Родитель
f0fede68fc
Коммит
51ea613684
|
@ -109,6 +109,10 @@ class B2GOptions(ReftestOptions):
|
|||
type="string", dest="logcat_dir",
|
||||
help="directory to store logcat dump files")
|
||||
defaults["logcat_dir"] = None
|
||||
self.add_option('--busybox', action='store',
|
||||
type='string', dest='busybox',
|
||||
help="Path to busybox binary to install on device")
|
||||
defaults['busybox'] = None
|
||||
defaults["remoteTestRoot"] = "/data/local/tests"
|
||||
defaults["logFile"] = "reftest.log"
|
||||
defaults["autorun"] = True
|
||||
|
@ -484,6 +488,8 @@ def main(args=sys.argv[1:]):
|
|||
kwargs['gecko_path'] = options.geckoPath
|
||||
if options.logcat_dir:
|
||||
kwargs['logcat_dir'] = options.logcat_dir
|
||||
if options.busybox:
|
||||
kwargs['busybox'] = options.busybox
|
||||
if options.emulator_res:
|
||||
kwargs['emulator_res'] = options.emulator_res
|
||||
if options.b2gPath:
|
||||
|
|
|
@ -102,6 +102,10 @@ class B2GOptions(MochitestOptions):
|
|||
type="string", dest="logcat_dir",
|
||||
help="directory to store logcat dump files")
|
||||
defaults["logcat_dir"] = None
|
||||
self.add_option('--busybox', action='store',
|
||||
type='string', dest='busybox',
|
||||
help="Path to busybox binary to install on device")
|
||||
defaults['busybox'] = None
|
||||
|
||||
defaults["remoteTestRoot"] = "/data/local/tests"
|
||||
defaults["logFile"] = "mochitest.log"
|
||||
|
@ -482,6 +486,8 @@ def main():
|
|||
kwargs['gecko_path'] = options.geckoPath
|
||||
if options.logcat_dir:
|
||||
kwargs['logcat_dir'] = options.logcat_dir
|
||||
if options.busybox:
|
||||
kwargs['busybox'] = options.busybox
|
||||
# needless to say sdcard is only valid if using an emulator
|
||||
if options.sdcard:
|
||||
kwargs['sdcard'] = options.sdcard
|
||||
|
|
Загрузка…
Ссылка в новой задаче