| # Copyright (c) 2015 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. |
| |
| AUTHOR = "puthik" |
| NAME = "power_MemorySuspend.memory_qual" |
| TIME = "LENGTHY" |
| TEST_CATEGORY = "Regression" |
| TEST_CLASS = "power" |
| TEST_TYPE = "client" |
| |
| DOC = """ |
| Memory suspend test: uses the memory_suspend_test binary to fill all |
| available memory with 0x55 and 0xAA patterns before suspend and verify |
| them afterwards. This is intended to catch memory initializaton regressions |
| on resume and other forms of silent memory corruption in the suspend path. |
| The memory_qual version test 10000 loops of the normal test. |
| """ |
| |
| job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True) |
| job.run_test('power_MemorySuspend', tag='memory_qual', num_suspends=10000) |