зеркало из https://github.com/mozilla/gecko-dev.git
Bug 826651 - Add XML output path to testvars so that it can be used when saving files related to the results. r=jgriffin
This commit is contained in:
Родитель
8d17e605c6
Коммит
475aa40555
|
@ -212,12 +212,12 @@ class MarionetteTestRunner(object):
|
||||||
self.perf = perf
|
self.perf = perf
|
||||||
self.perfserv = perfserv
|
self.perfserv = perfserv
|
||||||
self.gecko_path = gecko_path
|
self.gecko_path = gecko_path
|
||||||
self.testvars = None
|
self.testvars = {}
|
||||||
self.tree = tree
|
self.tree = tree
|
||||||
self.load_early = load_early
|
self.load_early = load_early
|
||||||
self.device = device
|
self.device = device
|
||||||
|
|
||||||
if testvars is not None:
|
if testvars:
|
||||||
if not os.path.exists(testvars):
|
if not os.path.exists(testvars):
|
||||||
raise Exception('--testvars file does not exist')
|
raise Exception('--testvars file does not exist')
|
||||||
|
|
||||||
|
@ -241,6 +241,7 @@ class MarionetteTestRunner(object):
|
||||||
os.mkdir(self.logcat_dir)
|
os.mkdir(self.logcat_dir)
|
||||||
|
|
||||||
# for XML output
|
# for XML output
|
||||||
|
self.testvars['xml_output'] = self.xml_output
|
||||||
self.results = []
|
self.results = []
|
||||||
|
|
||||||
def reset_test_stats(self):
|
def reset_test_stats(self):
|
||||||
|
|
Загрузка…
Ссылка в новой задаче