Modified to run both on guilin and master branch
[integration/csit.git] / tests / ccsdk-oran / polmansuite / test.robot
1 *** Settings ***
2 Library       OperatingSystem
3 Library       Process
4
5 *** Test Cases ***
6
7 Functional Test Case 1
8     [Documentation]                 Functional Test Case 1 - FTC1
9     Start Process                   ${AUTOTEST_ROOT}/FTC1.sh   remote  auto-clean  --env-file  ${TEST_ENV}  shell=true   cwd=${AUTOTEST_ROOT}
10     ${cli_cmd_output}=              Wait For Process    timeout=3600
11     Should Be Equal as Integers     ${cli_cmd_output.rc}    0
12     ${ResultFileContent}=           Get File                        ${AUTOTEST_ROOT}/.resultFTC1.txt
13     Should Be Equal As Integers     ${ResultFileContent}    0
14
15 Functional Test Case 2
16     [Documentation]                 Functional Test Case 2 - FTC150
17     Start Process                   ${AUTOTEST_ROOT}/FTC150.sh   remote  auto-clean  --env-file  ${TEST_ENV}  shell=true   cwd=${AUTOTEST_ROOT}
18     ${cli_cmd_output}=              Wait For Process    timeout=3600
19     Should Be Equal as Integers     ${cli_cmd_output.rc}    0
20     ${ResultFileContent}=           Get File                        ${AUTOTEST_ROOT}/.resultFTC150.txt
21     Should Be Equal As Integers     ${ResultFileContent}    0
22
23