blob: dccc67b12d6bfa32eaf0833c4f0dd7250d99de94 [file] [log] [blame]
Sivas SRR35b0f002016-07-20 07:49:41 -05001*** Settings ***
2Documentation This suite is for testing Open BMC full test suite.
3... Maintains log.html output.xml for each iteration and
4... generate combined report
5
6Library OperatingSystem
7
8*** Variables ***
9 ${ITERATION} 10
10 ${RESULT_PATH} logsdir
Sivas SRR594a6c92016-10-31 01:40:32 -050011 ${LOOP_TEST_COMMAND} tests
Sivas SRR35b0f002016-07-20 07:49:41 -050012
13*** Test Cases ***
14Run Entire Test Suite Multiple Time
15 [Documentation] Multiple iterations of Full Suite
16
17 Should Be True 0<${ITERATION}
18 Create Directory ${RESULT_PATH}
19 : FOR ${INDEX} IN RANGE 0 ${ITERATION}
20 \ Log To Console \n Iteration: no_newline=True
21 \ Log To Console ${INDEX}
Sivas SRR594a6c92016-10-31 01:40:32 -050022 \ Run OPENBMC_HOST=${OPENBMC_HOST} tox -e ${OPENBMC_SYSTEMMODEL} -- ${LOOP_TEST_COMMAND}
23 \ Run sed -i 's/'${OPENBMC_HOST}'/DUMMYIP/g' output.xml
Sivas SRR35b0f002016-07-20 07:49:41 -050024 \ Copy File output.xml ${RESULT_PATH}/output${INDEX}.xml
25 \ Copy File log.html ${RESULT_PATH}/log${INDEX}.html
26
27Create Combined Report
28 [Documentation] Using output[?].xml and create combined log.html
29
30 Run rebot --name ${OPENBMC_SYSTEMMODEL}CombinedReport ${RESULT_PATH}/output*.xml
31 Move File log.html ${RESULT_PATH}/log${OPENBMC_SYSTEMMODEL}CombinedIterations${ITERATION}Report.html
32