blob: 7a0a3d2d266f6c70da8659ab5dd2db21dc82487a [file] [log] [blame]
*** Settings ***
Documentation Test RAS sanity scenarios.
Resource ../../lib/bmc_redfish_resource.robot
Resource ../../lib/openbmc_ffdc.robot
Variables ../../lib/ras/variables.py
Suite Setup Suite Setup Execution
Test Setup Printn
Test Teardown FFDC On Test Case Fail
Suite Teardown Suite Setup Teardown
*** Variables ***
${proc_chip_id} 0
# mention count to read system memory.
${count} 128
*** Test Cases ***
Test BMC Getscom
[Documentation] Do getscom operation.
[Tags] Test_BMC_Getscom
${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
Pdbg -p${proc_chip_id} getscom 0x${value[0]}
Test BMC Getcfam
[Documentation] Do getcfam operation.
[Tags] Test_BMC_Getcfam
Pdbg -p${proc_chip_id} getcfam 0x${cfam_address}
Test BMC Getmem
[Documentation] Do getmem operation.
[Tags] Test_BMC_Getmem
Pdbg -p${proc_chip_id} getmem 0x${mem_address} ${count}
*** Keywords ***
Suite Setup Execution
[Documentation] Do the suite setup.
Redfish.Login
Redfish Power On
Suite Setup Teardown
[Documentation] Do the suite setup.
Redfish.Logout