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

Side by Side Diff: client/site_tests/logging_UserCrash/logging_UserCrash.py

Issue 3381011: autotest: Test increased crash thresholds. (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/site_tests/logging_CrashSender/logging_CrashSender.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import grp, logging, os, pwd, re, stat, subprocess 5 import grp, logging, os, pwd, re, stat, subprocess
6 from signal import SIGSEGV 6 from signal import SIGSEGV
7 from autotest_lib.client.bin import site_crash_test, site_utils, test 7 from autotest_lib.client.bin import site_crash_test, site_utils, test
8 from autotest_lib.client.common_lib import error, utils 8 from autotest_lib.client.common_lib import error, utils
9 9
10 _CORE_PATTERN = '/proc/sys/kernel/core_pattern' 10 _CORE_PATTERN = '/proc/sys/kernel/core_pattern'
11 _LEAVE_CORE_PATH = '/root/.leave_core' 11 _LEAVE_CORE_PATH = '/root/.leave_core'
12 _MAX_CRASH_DIRECTORY_SIZE = 8 12 _MAX_CRASH_DIRECTORY_SIZE = 32
13 13
14 14
15 class logging_UserCrash(site_crash_test.CrashTest): 15 class logging_UserCrash(site_crash_test.CrashTest):
16 version = 1 16 version = 1
17 17
18 18
19 def setup(self): 19 def setup(self):
20 os.chdir(self.srcdir) 20 os.chdir(self.srcdir)
21 utils.make('clean all') 21 utils.make('clean all')
22 22
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 def run_once(self): 449 def run_once(self):
450 self.run_crash_tests(['reporter_startup', 450 self.run_crash_tests(['reporter_startup',
451 'reporter_shutdown', 451 'reporter_shutdown',
452 'no_crash', 452 'no_crash',
453 'chronos_nobreakpad_crasher', 453 'chronos_nobreakpad_crasher',
454 'root_nobreakpad_crasher', 454 'root_nobreakpad_crasher',
455 'max_enqueued_crashes', 455 'max_enqueued_crashes',
456 'core_file_persists_in_debug', 456 'core_file_persists_in_debug',
457 'core_file_removed_in_production'], 457 'core_file_removed_in_production'],
458 initialize_crash_reporter = True) 458 initialize_crash_reporter = True)
OLDNEW
« no previous file with comments | « client/site_tests/logging_CrashSender/logging_CrashSender.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698