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