Lines Matching +full:openbmc +full:- +full:test +full:- +full:automation
1 #!/bin/bash -x
2 # Extract and run the OpenBMC robot test suite
4 # The robot test results will be copied to ${HOME}
7 # IP_ADDR IP Address of openbmc
8 # SSH_PORT SSH port of openbmc
9 # HTTPS_PORT HTTPS port of openbmc
14 # ROBOT_TEST_CMD Command to execute from within obmc robot test framework
15 # Default will be "tox -e qemu -- --include QEMU_CI tests"
21 MACHINE=${MACHINE:-"qemu"}
22 ROBOT_CODE_HOME=${ROBOT_CODE_HOME:-/tmp/$(whoami)/${RANDOM}/obmc-robot/}
23 ROBOT_TEST_CMD="${ROBOT_TEST_CMD:-"python3 -m robot\
24 -v OPENBMC_HOST:${IP_ADDR}\
25 -v OPENBMC_PASSWORD:0penBmc\
26 -v IPMI_PASSWORD:0penBmc\
27 -v SSH_PORT:${SSH_PORT}\
28 -v HTTPS_PORT:${HTTPS_PORT}\
29 -v REDFISH_SUPPORT_TRANS_STATE:1\
30 --argumentfile ./test_lists/QEMU_CI ./redfish ./ipmi"}"
32 git clone https://github.com/openbmc/openbmc-test-automation.git \
37 chmod ugo+rw -R "${ROBOT_CODE_HOME}"/*
44 if [ -d logs ] ; then
45 cp -Rf "${ROBOT_CODE_HOME}"/logs "${HOME}"/ ;
48 #rm -rf ${ROBOT_CODE_HOME}