Bug 874729 - Part 2: Don't print extra logcats after running Robocop. r=jmaher

Before a Robocop test starts, |recordLogcat| clears the |adb logcat| on
device.  If a Robocop test fails, we print the logcat immediately after
the test.  The moved call avoids printing the logcat after all tests
have completed, which avoids printing a spurious second copy.  We still
print the logcat after running a Mochitest.
This commit is contained in:
Nick Alexander 2014-09-08 16:23:10 -07:00
Родитель dd621202b1
Коммит 121ceea084
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -804,8 +804,9 @@ def main():
pass
retVal = 1
mochitest.printDeviceInfo(printLogcat=True)
message_logger.finish()
mochitest.printDeviceInfo(printLogcat=True)
sys.exit(retVal)