mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 02:28:54 +00:00
parent
aa7058a3b4
commit
db72301eb0
@ -3,9 +3,11 @@ if {[get_cmd_switch --autopilot] && [have_board virt_qemu_riscv]} {
|
||||
exit 0
|
||||
}
|
||||
|
||||
set targets "core init timer server/nic_router server/nic_bridge
|
||||
set targets {
|
||||
core lib/ld init timer lib/libc lib/vfs lib/vfs_lwip
|
||||
server/report_rom server/nic_router server/nic_bridge server/nic_loopback
|
||||
test/lwip/http_srv test/lwip/http_clnt test/lwip/udp
|
||||
server/nic_loopback lib/vfs_lwip "
|
||||
}
|
||||
|
||||
proc client_bin { prot } {
|
||||
if {$prot == "udp"} { return "test-lwip-udp-client" }
|
||||
@ -70,9 +72,4 @@ proc server_config { name prot ip_addr gateway netmask nic port } {
|
||||
return $result
|
||||
}
|
||||
|
||||
set boot_modules "
|
||||
core init timer nic_router nic_bridge nic_loopback ld.lib.so
|
||||
libc.lib.so vfs.lib.so vfs_lwip.lib.so [client_bin udp] [server_bin udp]
|
||||
[client_bin http] [server_bin http] "
|
||||
|
||||
append qemu_args "-nographic "
|
||||
|
@ -21,8 +21,6 @@ proc enable_test_7 { } { return 1 }
|
||||
|
||||
source ${genode_dir}/repos/libports/run/nic_router.inc
|
||||
|
||||
lappend targets server/report_rom
|
||||
|
||||
build $targets
|
||||
|
||||
create_boot_directory
|
||||
@ -378,9 +376,7 @@ append config {
|
||||
|
||||
install_config $config
|
||||
|
||||
lappend boot_modules report_rom
|
||||
|
||||
build_boot_image $boot_modules
|
||||
build_boot_image [build_artifacts]
|
||||
|
||||
for {set i 0} {$i < $nr_of_clients} {incr i 1} {
|
||||
append done_string {.*Test done.*\n}
|
||||
|
@ -12,7 +12,6 @@ proc enable_test_7 { } { return 0 }
|
||||
|
||||
source ${genode_dir}/repos/libports/run/nic_router.inc
|
||||
|
||||
lappend targets server/report_rom
|
||||
lappend targets server/dynamic_rom
|
||||
|
||||
build $targets
|
||||
@ -423,10 +422,7 @@ append config {
|
||||
|
||||
install_config $config
|
||||
|
||||
lappend boot_modules report_rom
|
||||
lappend boot_modules dynamic_rom
|
||||
|
||||
build_boot_image $boot_modules
|
||||
build_boot_image [build_artifacts]
|
||||
|
||||
for {set i 0} {$i < $nr_of_clients} {incr i 1} {
|
||||
append done_string {.*Test done.*\n}
|
||||
|
@ -46,11 +46,11 @@ create_boot_directory
|
||||
import_from_depot [depot_user]/pkg/[drivers_nic_pkg]
|
||||
|
||||
build {
|
||||
core init timer server/nic_router app/ping test/lwip/udp
|
||||
server/report_rom }
|
||||
|
||||
append config {
|
||||
core lib/ld init timer lib/libc lib/libm lib/vfs lib/vfs_lwip
|
||||
server/nic_router app/ping test/lwip/udp server/report_rom
|
||||
}
|
||||
|
||||
install_config {
|
||||
<config>
|
||||
|
||||
<parent-provides>
|
||||
@ -144,10 +144,7 @@ append config {
|
||||
|
||||
</config> }
|
||||
|
||||
install_config $config
|
||||
build_boot_image {
|
||||
core init timer nic_router ping test-lwip-udp-server ld.lib.so libc.lib.so
|
||||
libm.lib.so vfs.lib.so vfs_lwip.lib.so report_rom }
|
||||
build_boot_image [build_artifacts]
|
||||
|
||||
# wait for server ip stack to come up
|
||||
run_genode_until {.*lwIP Nic interface up.*\n} 30
|
||||
|
Loading…
Reference in New Issue
Block a user