Revert "Revert "Enhance logging_UserCrash to detect problems with crash reporting setup""
This reverts commit fe329e34eddd4288ec36ecb69c751b3bdc117c6b.
BUG=chromium-os:13748
TEST=
TBR=dianders@chromium.org
Change-Id: I566cabe72081460190be16fea5da5c1bf8b136f3
diff --git a/client/site_tests/logging_UserCrash/logging_UserCrash.py b/client/site_tests/logging_UserCrash/logging_UserCrash.py
index 4c96391..6f8a451 100644
--- a/client/site_tests/logging_UserCrash/logging_UserCrash.py
+++ b/client/site_tests/logging_UserCrash/logging_UserCrash.py
@@ -670,6 +670,13 @@
def run_once(self):
self._prepare_crasher()
self._populate_symbols()
+
+ # Run the test once without re-initializing
+ # to catch problems with the default crash reporting setup
+ self.run_crash_tests(['reporter_startup'],
+ initialize_crash_reporter = False,
+ must_run_all = False)
+
self.run_crash_tests(['reporter_startup',
'reporter_shutdown',
'no_crash',