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:
Dave Hunt 2013-01-06 22:24:15 -05:00
Родитель 8d17e605c6
Коммит 475aa40555
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -212,12 +212,12 @@ class MarionetteTestRunner(object):
self.perf = perf
self.perfserv = perfserv
self.gecko_path = gecko_path
self.testvars = None
self.testvars = {}
self.tree = tree
self.load_early = load_early
self.device = device
if testvars is not None:
if testvars:
if not os.path.exists(testvars):
raise Exception('--testvars file does not exist')
@ -241,6 +241,7 @@ class MarionetteTestRunner(object):
os.mkdir(self.logcat_dir)
# for XML output
self.testvars['xml_output'] = self.xml_output
self.results = []
def reset_test_stats(self):