if {![have_include power_on/qemu]} { puts "Run script is only supported on Qemu" exit 0 } if {[have_board rpi3]} { puts "\n Run script is not supported on this platform. \n"; exit 0 } if {[get_cmd_switch --autopilot] && [have_board virt_qemu_riscv]} { puts "Autopilot mode is not supported on this platform." exit 0 } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/nic_router \ [depot_user]/src/init \ [depot_user]/src/libc \ [depot_user]/src/nic_bridge \ [depot_user]/src/vfs_lwip \ [depot_user]/src/vfs build { test/lwip } install_config { } build_boot_image { test-http_clnt test-lwip_httpsrv } append qemu_args " -nographic " append_qemu_nic_args append done_string {.*?\[init -> client_3] .\[31mError: Nic-session creation failed} append done_string {.*?\[client_1 -> lwip] rcv ETH 02:02:02:02:42:0.} append done_string {.*?\[client_2 -> lwip] rcv ETH 02:02:02:02:79:00} append done_string {.*?\[server_1 -> lwip] rcv ETH 02:02:02:02:42:0.} append done_string {.*?\[server_2 -> lwip] rcv ETH 02:02:02:02:23:00} append done_string {.*?"client_." exited with exit value 0} append done_string {.*?"client_." exited with exit value 0} append done_string {.*?\n} run_genode_until $done_string 40