Add shodan boot test.

* Update test runner script.
* Add example robot test.
* To run the test:
	$> ./sim/tests/test.sh sim/tests/shodan.robot

Change-Id: Ie10be9940f7c8f6498dae8faa800caa823bb7d3f
diff --git a/shodan_boot.robot b/shodan_boot.robot
new file mode 100644
index 0000000..5d369d9
--- /dev/null
+++ b/shodan_boot.robot
@@ -0,0 +1,42 @@
+*** Settings ***
+Suite Setup                     Setup
+Suite Teardown                  Teardown
+Test Setup                      Reset Emulation
+Test Teardown                   Test Teardown
+Resource                        ${RENODEKEYWORDS}
+
+*** Variables ***
+${LOG_TIMEOUT}                   1
+${ROOTDIR}                       @${CURDIR}/../..
+${SCRIPT}                        sim/config/shodan_all.resc
+${PROMPT}                        KATA>
+${UART0}                         sysbus.uart0
+${UART1}                         sysbus.uart1
+${UART2}                         sysbus.uart2
+${UART3}                         sysbus.uart3
+
+*** Keywords ***
+Prepare Machine
+    Execute Command             path set ${ROOTDIR}
+    Execute Script              ${SCRIPT}
+    Execute Command             cpu0 IsHalted false
+    Execute Command             cpu1 IsHalted false
+    Set Default Uart Timeout    300
+
+
+*** Test Cases ***
+Shodan Smoke Test
+    [Documentation]             Test TockOS boot, seL4 boot and ML Execution
+    [Tags]                      ml tock seL4 uart
+    Prepare Machine
+    Create Log Tester           ${LOG_TIMEOUT}
+    ${tockuart}=                Create Terminal Tester        ${UART0}
+    ${sel4uart}=                Create Terminal Tester        ${UART1}
+    Start Emulation
+
+    Wait For Line On Uart       OpenTitan initialisation complete.               testerId=${tockuart}
+    Wait For Line On Uart       Booting all finished, dropped to user space      testerId=${sel4uart}
+    Wait For Prompt On Uart     ${PROMPT}           testerId=${sel4uart}
+    Write Line To Uart          test_mlexecute      testerId=${sel4uart}
+    Wait For Prompt On Uart     ${PROMPT}           testerId=${sel4uart}
+    Wait For LogEntry           "main returned: ", 0