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

Side by Side Diff: client/site_tests/hardware_DeveloperRecovery/src/DevRecTest.py

Issue 6090004: Move Autotest to /usr/local/autotest and fix hard-coded autodir paths in client tests. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Revert to hard-coded path for logging_UserCrash 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
« no previous file with comments | « no previous file | client/site_tests/logging_LogVolume/stateful_whitelist.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # 2 #
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # DESCRIPTION : 7 # DESCRIPTION :
8 # 8 #
9 # Intended for use during manufacturing to validate that developer 9 # Intended for use during manufacturing to validate that developer
10 # switch and recovery button function properly. Run normally, test 10 # switch and recovery button function properly. Run normally, test
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 331
332 def bogus_gpio_read(self, name): 332 def bogus_gpio_read(self, name):
333 return self._gpio 333 return self._gpio
334 334
335 def pinetrail_gpio_read(self, name): 335 def pinetrail_gpio_read(self, name):
336 if not self.table.__contains__(name): 336 if not self.table.__contains__(name):
337 raise 337 raise
338 338
339 # TODO(tbroch) hardcode for now ... iotools usages going away 339 # TODO(tbroch) hardcode for now ... iotools usages going away
340 # longer term anyways 340 # longer term anyways
341 path = '/home/autotest/deps/iotools/' 341 path = '/usr/local/autotest/deps/iotools/'
342 # Generate symlinks for iotools. 342 # Generate symlinks for iotools.
343 if not os.path.exists(path + 'pci_read32'): 343 if not os.path.exists(path + 'pci_read32'):
344 os.system(path + 'iotools --make-links') 344 os.system(path + 'iotools --make-links')
345 345
346 # Tigerpoint LPC Interface. 346 # Tigerpoint LPC Interface.
347 tp_device = (0, 31, 0) 347 tp_device = (0, 31, 0)
348 # TP io port location of GPIO registers. 348 # TP io port location of GPIO registers.
349 tp_GPIOBASE = 0x48 349 tp_GPIOBASE = 0x48
350 # IO offset to check GPIO levels. 350 # IO offset to check GPIO levels.
351 tp_GP_LVL_off = 0xc 351 tp_GP_LVL_off = 0xc
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 420
421 window.add(align) 421 window.add(align)
422 window.show() 422 window.show()
423 423
424 gtk.main() 424 gtk.main()
425 425
426 return not drt._success 426 return not drt._success
427 427
428 if __name__ == '__main__': 428 if __name__ == '__main__':
429 main() 429 main()
OLDNEW
« no previous file with comments | « no previous file | client/site_tests/logging_LogVolume/stateful_whitelist.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698