Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9493)

Unified Diff: client/bin/site_crash_test.py

Issue 4000005: autotest: Test new kernel signature generation (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: no really... Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | client/site_tests/logging_KernelCrash/logging_KernelCrash.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/bin/site_crash_test.py
diff --git a/client/bin/site_crash_test.py b/client/bin/site_crash_test.py
index df6ae3662831330d750d0ca961617a303ec7a440..693282174138d4e041b24d154f77721b1680ce97 100644
--- a/client/bin/site_crash_test.py
+++ b/client/bin/site_crash_test.py
@@ -149,6 +149,7 @@ class CrashTest(test.test):
report_kind: kind of report sent (minidump vs kernel)
send_attempt: did the script attempt to send a crash.
send_success: if it attempted, was the crash send successful.
+ sig: signature of the report, if given.
sleep_time: if it attempted, how long did it sleep before
sending (if mocked, how long would it have slept)
"""
@@ -175,6 +176,11 @@ class CrashTest(test.test):
exec_name = exec_name_match.group(1)
else:
exec_name = None
+ sig_match = re.search('Sig: (\S+)', output)
+ if sig_match:
+ sig = sig_match.group(1)
+ else:
+ sig = None
send_success = 'Mocking successful send' in output
return {'exec_name': exec_name,
'report_kind': report_kind,
@@ -182,6 +188,7 @@ class CrashTest(test.test):
'report_payload': report_payload,
'send_attempt': send_attempt,
'send_success': send_success,
+ 'sig': sig,
'sleep_time': sleep_time,
'output': output}
« no previous file with comments | « no previous file | client/site_tests/logging_KernelCrash/logging_KernelCrash.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698