зеркало из https://github.com/mozilla/eideticker.git
Fix --no-capture for get-metric-for-build
This commit is contained in:
Родитель
1c631ef953
Коммит
8ee9506efe
|
@ -49,6 +49,8 @@ def run_test(testkey, capture_device, appname, capture_name,
|
|||
if not capture_file and not no_capture:
|
||||
capture_file = os.path.join(CAPTURE_DIR, "capture-%s.zip" %
|
||||
datetime.datetime.now().isoformat())
|
||||
elif no_capture:
|
||||
capture_file = None
|
||||
|
||||
# Create a device object to interface with the phone
|
||||
device = getDevice(**device_prefs)
|
||||
|
|
|
@ -88,7 +88,7 @@ class Test(LoggingMixin):
|
|||
capture_file = None,
|
||||
capture_controller=None,
|
||||
capture_metadata={}, tempdir=None,
|
||||
no_capture=False, track_start_frame=False,
|
||||
track_start_frame=False,
|
||||
track_end_frame=False, **kwargs):
|
||||
self.testpath_rel = testpath_rel
|
||||
self.device = device
|
||||
|
@ -97,7 +97,6 @@ class Test(LoggingMixin):
|
|||
self.capture_metadata = capture_metadata
|
||||
self.capture_timeout = int(testinfo['captureTimeout'])
|
||||
self.tempdir = tempdir
|
||||
self.no_capture = no_capture
|
||||
self.track_start_frame = track_start_frame
|
||||
self.track_end_frame = track_end_frame
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче