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

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

Issue 5740004: Move site_chrome_test, site_logging, site_log_reader, site_crash_test into cros dir. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 11 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
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, test, utils 7 from autotest_lib.client.bin import utils
8 from autotest_lib.client.common_lib import error 8 from autotest_lib.client.common_lib import error
9 from autotest_lib.client.cros import crash_test
10
9 11
10 _COLLECTION_ERROR_SIGNATURE = 'crash_reporter-user-collection' 12 _COLLECTION_ERROR_SIGNATURE = 'crash_reporter-user-collection'
11 _CORE2MD_PATH = '/usr/bin/core2md' 13 _CORE2MD_PATH = '/usr/bin/core2md'
12 _LEAVE_CORE_PATH = '/root/.leave_core' 14 _LEAVE_CORE_PATH = '/root/.leave_core'
13 _MAX_CRASH_DIRECTORY_SIZE = 32 15 _MAX_CRASH_DIRECTORY_SIZE = 32
14 16
15 17
16 class logging_UserCrash(site_crash_test.CrashTest): 18 class logging_UserCrash(crash_test.CrashTest):
17 version = 1 19 version = 1
18 20
19 21
20 def setup(self): 22 def setup(self):
21 os.chdir(self.srcdir) 23 os.chdir(self.srcdir)
22 utils.make('clean') 24 utils.make('clean')
23 utils.make('all') 25 utils.make('all')
24 26
25 27
26 def _test_reporter_startup(self): 28 def _test_reporter_startup(self):
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 'root_crasher_no_consent', 673 'root_crasher_no_consent',
672 'crash_filtering', 674 'crash_filtering',
673 'max_enqueued_crashes', 675 'max_enqueued_crashes',
674 'core2md_failure', 676 'core2md_failure',
675 'internal_directory_failure', 677 'internal_directory_failure',
676 'crash_logs_creation', 678 'crash_logs_creation',
677 'crash_log_infinite_recursion', 679 'crash_log_infinite_recursion',
678 'core_file_persists_in_debug', 680 'core_file_persists_in_debug',
679 'core_file_removed_in_production'], 681 'core_file_removed_in_production'],
680 initialize_crash_reporter = True) 682 initialize_crash_reporter = True)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698