blob: 19c9fa4fbbe29edcec272881291f1897abe14b03 [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
11
12*** Test Cases ***
13Run Entire Test Suite Multiple Time
14 [Documentation] Multiple iterations of Full Suite
15
16 Should Be True 0<${ITERATION}
17 Create Directory ${RESULT_PATH}
18 : FOR ${INDEX} IN RANGE 0 ${ITERATION}
19 \ Log To Console \n Iteration: no_newline=True
20 \ Log To Console ${INDEX}
21 \ Run OPENBMC_HOST=${OPENBMC_HOST} tox -e ${OPENBMC_SYSTEMMODEL} -- tests
22 \ Copy File output.xml ${RESULT_PATH}/output${INDEX}.xml
23 \ Copy File log.html ${RESULT_PATH}/log${INDEX}.html
24
25Create Combined Report
26 [Documentation] Using output[?].xml and create combined log.html
27
28 Run rebot --name ${OPENBMC_SYSTEMMODEL}CombinedReport ${RESULT_PATH}/output*.xml
29 Move File log.html ${RESULT_PATH}/log${OPENBMC_SYSTEMMODEL}CombinedIterations${ITERATION}Report.html
30