1# Copyright (c) 2013 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 = "jwerner, chromeos-power"
6NAME = "power_MemorySuspend"
7ATTRIBUTES = "suite:jailed_build"
8SUITE = "jailed_build"
9TIME = "FAST"
10TEST_CATEGORY = "Regression"
11TEST_CLASS = "power"
12TEST_TYPE = "client"
13
14DOC = """
15Memory suspend test: uses the memory_suspend_test binary to fill all
16available memory with 0x55 and 0xAA patterns before suspend and verify
17them afterwards. This is intended to catch memory initializaton regressions
18on resume and other forms of silent memory corruption in the suspend path.
19"""
20
21job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True)
22job.run_test('power_MemorySuspend')
23