generic_dram_examples ===================== Examples for testing DRAM components. DRAM is called "Memory" in AVL. Inherit ------- - :doc:`generic_dram.test_list ` MemorySizeMaxDiffRatio30Percent ------------------------------- pytest_name ``````````` :doc:`memory_size <../pytests/memory_size>` args ```` ``max_diff_ratio`` :: 0.3 StressAppTestForOneDay ---------------------- pytest_name ``````````` :doc:`stressapptest <../pytests/stressapptest>` args ```` ``seconds`` :: 86400 StressAppTestOnlyCPUAndMemory ----------------------------- pytest_name ``````````` :doc:`stressapptest <../pytests/stressapptest>` args ```` ``disk_thread`` :: false DRAMTests --------- Serial subtests ``````````````` - ProbeDram - `UpdateDramPartNum`_ - MemorySize - `MemorySizeMaxDiffRatio30Percent`_ - `MemorySizeCompareToDeviceData`_ - MRCCache - StressAppTest - `StressAppTestOnlyCPUAndMemory`_ - `StressAppTestForOneDay`_ MemorySizeCompareToDeviceData ----------------------------- Serial subtests ``````````````` - :: { "args": { "device_data_key": "component.memory_size", "label": "Memory Size in GB" }, "label": "Scan Memory Size in GB", "pytest_name": "scan" } - :: { "args": { "device_data_key": "component.memory_size" }, "inherit": "MemorySize" } UpdateDramPartNum ----------------- Serial subtests ``````````````` - :: { "args": { "commands": [ "factory device-data component.dram_part_num=\"$(ectool cbi get 3)\"" ] }, "label": "Read DRAM Part Num From CBI", "pytest_name": "exec_shell" } - :: { "args": { "device_data_key": "component.dram_part_num", "label": "DRAM Part Num" }, "label": "Scan DRAM Part Num", "pytest_name": "scan" } - :: { "args": { "cbi_data_names": [ "DRAM_PART_NUM" ] }, "label": "Update DRAM Part Num in CBI", "pytest_name": "update_cbi" }