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

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

Issue 3438007: Replace newline characters in factory tests (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git
Patch Set: Address review comments 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
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 os 5 import os
6 import time 6 import time
7 7
8 from autotest_lib.client.bin import factory 8 from autotest_lib.client.bin import factory
9 from autotest_lib.client.bin import factory_ui_lib as ful 9 from autotest_lib.client.bin import factory_ui_lib as ful
10 from autotest_lib.client.bin import test, utils 10 from autotest_lib.client.bin import test, utils
11 from autotest_lib.client.common_lib import error 11 from autotest_lib.client.bin import factory_error as error
12 12
13 13
14 GPIO_ROOT = '/home/gpio' 14 GPIO_ROOT = '/home/gpio'
15 GOOGLE_REQUIRED_TESTS = [ 'GRT_HWComponents', 'GRT_DevRec' ] 15 GOOGLE_REQUIRED_TESTS = [ 'GRT_HWComponents', 'GRT_DevRec' ]
16 16
17 17
18 def init_gpio(gpio_root=GPIO_ROOT): 18 def init_gpio(gpio_root=GPIO_ROOT):
19 """ initializes GPIO in GPIO_ROOT """ 19 """ initializes GPIO in GPIO_ROOT """
20 if os.path.exists(gpio_root): 20 if os.path.exists(gpio_root):
21 utils.system("rm -rf '%s'" % gpio_root) 21 utils.system("rm -rf '%s'" % gpio_root)
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 check_and_enable_write_protect=True, 92 check_and_enable_write_protect=True,
93 status_file_path=None, 93 status_file_path=None,
94 test_list=None): 94 test_list=None):
95 95
96 # apply each final tests 96 # apply each final tests
97 self.check_google_required_tests(check_required_tests, 97 self.check_google_required_tests(check_required_tests,
98 status_file_path, 98 status_file_path,
99 test_list) 99 test_list)
100 self.check_developer_switch(check_developer_switch) 100 self.check_developer_switch(check_developer_switch)
101 self.check_flashrom_write_protect(check_and_enable_write_protect) 101 self.check_flashrom_write_protect(check_and_enable_write_protect)
OLDNEW
« no previous file with comments | « client/site_tests/factory_UploadLogs/factory_UploadLogs.py ('k') | client/site_tests/factory_Wipe/factory_Wipe.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698