mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 07:31:01 +02:00
Exclude fake crash reporter directories from report.
Change-Id: I11357f7196b66f3e879e68efa5366af115f3992b BUG=8192 TEST=Ran it with results from a test with crash reports in it. Review URL: http://codereview.chromium.org/4156003
This commit is contained in:
parent
3b39a54ea3
commit
a8860e4572
@ -98,6 +98,10 @@ class ReportGenerator(object):
|
|||||||
if not os.path.isfile(status_file):
|
if not os.path.isfile(status_file):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# Remove false positives that are missing a debug dir.
|
||||||
|
if not os.path.exists(os.path.join(testdir, 'debug')):
|
||||||
|
return
|
||||||
|
|
||||||
status_raw = open(status_file, 'r').read()
|
status_raw = open(status_file, 'r').read()
|
||||||
status = 'FAIL'
|
status = 'FAIL'
|
||||||
if (re.search(r'GOOD.+completed successfully', status_raw) and
|
if (re.search(r'GOOD.+completed successfully', status_raw) and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user