1*** Variables ***
2${UART}                        sysbus.uart
3
4*** Test Cases ***
5Should Boot
6    Execute Command            i @scripts/single-node/litex_ibex.resc
7    Create Terminal Tester     ${UART}
8
9    Start Emulation
10
11    Wait For Line On Uart      BIOS CRC passed
12    Wait For Line On Uart      CPU:\\s+Ibex               treatAsRegex=true
13
14    Wait For Line On Uart      Press Q or ESC to abort boot completely.
15    # send Q
16    Send Key To Uart           0x51
17
18    Wait For Prompt On Uart    litex>
19
20    Provides                   boot-finished
21
22Should Display Help
23    Requires                   boot-finished
24
25    Write Line To Uart         help
26    Wait For Line On Uart      LiteX BIOS, available commands:
27