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