blob: d564ecc03a858218be54a5338c289b5742005853 [file] [log] [blame] [edit]
NAME = "Platform_MemCheck"
PURPOSE = "Verify memory values look reasonable."
CRITERIA = """
This test will fail if unexpected values are found for:
- Total Memory
- Free Memory
- Swap Cached
- Swap Total
- Virtual Memory
"""
AUTHOR = "kdlucas@chromium.org (Kelly Lucas)"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "platform"
TEST_TYPE = "client"
DOC = """
Verifies that memory levels look sane.
The resources being verified are:
Total Memory
Free Memory
Swap Memory Cached
Swap Total
Virtual Memory Total
We are assuming that we should have at least 1/2 of total memory free, that swap
is turned off, and that virtual memory should be at least 102400 kb.
"""
job.run_test('platform_MemCheck')