| # Copyright (c) 2014 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| NAME = 'hardware_StorageWearoutDetect.non_cache' |
| AUTHOR = 'puthik' |
| PURPOSE = 'Detect wear out status of storage device' |
| TIME = 'FAST' |
| TEST_CLASS = 'hardware' |
| TEST_TYPE = 'client' |
| |
| DOC = """ |
| This test check wear out status for storage device available in SMART for SSD |
| and in ext_csd for eMMC version 5.0 or later. For previous version of eMMC, |
| it will be treat as data not available. The test will be failed if there is |
| SMART value is failing or eMMC wear out is in 90-100% band or higher. |
| """ |
| |
| job.add_sysinfo_logfile('/var/log/storage_info.txt', on_every_test=True) |
| job.run_test('hardware_StorageWearoutDetect', use_cached_result=False) |