mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1558867 - Report log for short runs of 'mach gtest'; r=bc
This allows me to run 'mach gtest "APZ*"' and other short runs of gtest that were previously failing. Differential Revision: https://phabricator.services.mozilla.com/D34764 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c2697b1ae8
commit
710630afc9
@ -236,13 +236,13 @@ class AppWaiter(object):
|
||||
return top
|
||||
|
||||
def wait_for_start(self, package):
|
||||
if self.update_log():
|
||||
# if log content is available, assume the app started; otherwise,
|
||||
# a short run (few tests) might complete without ever being detected
|
||||
# in the foreground
|
||||
return package
|
||||
top = None
|
||||
while top != package and not self.start_timed_out():
|
||||
if self.update_log():
|
||||
# if log content is available, assume the app started; otherwise,
|
||||
# a short run (few tests) might complete without ever being detected
|
||||
# in the foreground
|
||||
return package
|
||||
time.sleep(1)
|
||||
top = self.get_top()
|
||||
return top
|
||||
|
Loading…
x
Reference in New Issue
Block a user