зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 154690942f4d (bug 1027607) for morphing the test names to something that causes greater false positives
This commit is contained in:
Родитель
b946c31602
Коммит
9d6e50b205
|
@ -63,14 +63,10 @@ class GeckoInstance(object):
|
|||
env=env,
|
||||
symbols_path=self.symbols_path,
|
||||
process_args={
|
||||
'processOutputLine': [on_output],
|
||||
'processOutputLine': [NullOutput()],
|
||||
'logfile': self.gecko_log})
|
||||
self.runner.start()
|
||||
|
||||
def on_output(self, line):
|
||||
if line.startswith('TEST-START'):
|
||||
self.runner.last_test = line.split()[-1]
|
||||
|
||||
def check_for_crashes(self):
|
||||
return self.runner.check_for_crashes()
|
||||
|
||||
|
@ -84,5 +80,10 @@ class B2GDesktopInstance(GeckoInstance):
|
|||
required_prefs = {"focusmanager.testmode": True}
|
||||
|
||||
|
||||
class NullOutput(object):
|
||||
def __call__(self, line):
|
||||
pass
|
||||
|
||||
|
||||
apps = {'b2g': B2GDesktopInstance,
|
||||
'b2gdesktop': B2GDesktopInstance}
|
||||
|
|
|
@ -177,7 +177,6 @@ class BaseRunner(object):
|
|||
if not dump_directory:
|
||||
dump_directory = os.path.join(self.profile.profile, 'minidumps')
|
||||
|
||||
test_name = test_name or self.last_test
|
||||
crashed = False
|
||||
try:
|
||||
crashed = mozcrash.check_for_crashes(dump_directory,
|
||||
|
|
Загрузка…
Ссылка в новой задаче