sim:tests: track debug build changes to DebugConsole DebugConsole only includes TEST_* support in debug builds; make the smoketest use conditional on RUN_DEBUG. Change-Id: If78ddd0322254a80b905c0172c94e6c9607e9b4c
diff --git a/shodan_boot.robot b/shodan_boot.robot index aed63d5..b7f931b 100644 --- a/shodan_boot.robot +++ b/shodan_boot.robot
@@ -103,15 +103,18 @@ Execute Command showAnalyzer "uart5-analyzer" ${UART5} Antmicro.Renode.Analyzers.LoggingUartAnalyzer # Add UART5 virtual time so we can check the machine execution time Execute Command uart5-analyzer TimestampFormat Virtual - Write Line To Uart install mobilenet_v1_emitc_static.model - # Bundle ID needs to be retrieved at runtime - ${l}= Wait For Line On Uart Model "([^"]+)" installed treatAsRegex=true - Write Line to Uart test_mlexecute anything ${l.groups[0]} - Wait For Prompt On Uart ${PROMPT} - Wait For LogEntry "main returned: ", 0 - # Test timer - Write Line To Uart test_timer_blocking 10 - Wait For LogEntry Timer completed. + IF ${RUN_DEBUG} == 1 + Write Line To Uart install mobilenet_v1_emitc_static.model + # Bundle ID needs to be retrieved at runtime + ${l}= Wait For Line On Uart Model "([^"]+)" installed treatAsRegex=true + Write Line to Uart test_mlexecute anything ${l.groups[0]} + Wait For Prompt On Uart ${PROMPT} + Wait For LogEntry "main returned: ", 0 + + # Test timer + Write Line To Uart test_timer_blocking 10 + Wait For LogEntry Timer completed. + END Test C hello app (no SDK) Requires shodan-bootup