| OLD | NEW |
| 1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
| 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 AUTHOR = "Chrome OS Team" | 7 AUTHOR = "Chrome OS Team" |
| 8 NAME = "Factory" | 8 NAME = "Factory" |
| 9 TIME = "LONG" | 9 TIME = "LONG" |
| 10 TEST_CATEGORY = "Functional" | 10 TEST_CATEGORY = "Functional" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 formal_name='step_runin', | 81 formal_name='step_runin', |
| 82 automated_seq=[ | 82 automated_seq=[ |
| 83 # Match HWQual ID by running hardware_Components with ignored cids. | 83 # Match HWQual ID by running hardware_Components with ignored cids. |
| 84 factory.TestData( | 84 factory.TestData( |
| 85 label_en='hwqual id matching', | 85 label_en='hwqual id matching', |
| 86 label_zw='型號匹配', | 86 label_zw='型號匹配', |
| 87 formal_name='hardware_Components', | 87 formal_name='hardware_Components', |
| 88 dargs={'approved_dbs':'qualified_components*', | 88 dargs={'approved_dbs':'qualified_components*', |
| 89 'ignored_cids':[ | 89 'ignored_cids':[ |
| 90 'hash_ro_firmware', | 90 'hash_ro_firmware', |
| 91 'part_id_bios', | |
| 92 'part_id_hwqual', | 91 'part_id_hwqual', |
| 92 'vendor_id_bios', |
| 93 'version_rw_firmware', | 93 'version_rw_firmware', |
| 94 ]}), | 94 ]}), |
| 95 factory.TestData( | 95 factory.TestData( |
| 96 label_en='gpio switch check', | 96 label_en='gpio switch check', |
| 97 label_zw='檢查 gpio 開關', | 97 label_zw='檢查 gpio 開關', |
| 98 formal_name='hardware_GPIOSwitches'), | 98 formal_name='hardware_GPIOSwitches'), |
| 99 factory.TestData( | 99 factory.TestData( |
| 100 label_en='system stress', | 100 label_en='system stress', |
| 101 label_zw='壓力測試', | 101 label_zw='壓力測試', |
| 102 formal_name='hardware_SAT', | 102 formal_name='hardware_SAT', |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 result = eval(file.readline()) | 347 result = eval(file.readline()) |
| 348 | 348 |
| 349 if result is not None: | 349 if result is not None: |
| 350 ui.send_cmd_switch_to(result) | 350 ui.send_cmd_switch_to(result) |
| 351 else: | 351 else: |
| 352 ui.send_cmd_next_test() | 352 ui.send_cmd_next_test() |
| 353 | 353 |
| 354 test, test_count = ui.recv_target_test_update(test_map) | 354 test, test_count = ui.recv_target_test_update(test_map) |
| 355 | 355 |
| 356 factory.log('factory testing completed') | 356 factory.log('factory testing completed') |
| OLD | NEW |