blob: 100082b048c12893ecd58df5abd0be39014a4917 [file] [log] [blame]
# Copyright (c) 2013 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.
# TEST IS DISABLED UNTIL MIGRATED TO PYTHON 3.
# For instructions on how to: go/tauto-py3-migration
# To re-enable migrate to Python 3.
# If the test is not migrated by 1/14/22 it will be deleted.
AUTHOR = "jwerner, chromeos-power"
NAME = "power_MemorySuspend"
ATTRIBUTES = "suite:jailed_build"
TIME = "FAST"
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.
"""
job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True)
job.run_test('power_MemorySuspend')