1# Copyright (c) 2015 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "puthik"
6NAME = "power_MemorySuspend.memory_qual"
7TIME = "LENGTHY"
8TEST_CATEGORY = "Regression"
9TEST_CLASS = "power"
10TEST_TYPE = "client"
11
12DOC = """
13Memory suspend test: uses the memory_suspend_test binary to fill all
14available memory with 0x55 and 0xAA patterns before suspend and verify
15them afterwards. This is intended to catch memory initializaton regressions
16on resume and other forms of silent memory corruption in the suspend path.
17The memory_qual version test 10000 loops of the normal test.
18"""
19
20job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True)
21job.run_test('power_MemorySuspend', tag='memory_qual', num_suspends=10000)
22