mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
8d9561595c
Enables testing of the wifi_drv with netperf. Fixes #1415.
27 lines
708 B
Plaintext
27 lines
708 B
Plaintext
#
|
|
# \brief Test using netperf with a network bridge and with a native driver or
|
|
# if not available for the platform using usb 3.0 by default
|
|
# \author Alexander Boettcher
|
|
# \date 2013-07-08
|
|
#
|
|
|
|
if {[have_include "power_on/qemu"]} {
|
|
puts "\nNetperf running on Qemu with a bridge is not supported.\n"
|
|
exit
|
|
}
|
|
|
|
if {[have_spec omap4]} {
|
|
puts stderr "\nTest requires 1 Gbit network interface - not supported for omap4\n"
|
|
exit 0
|
|
}
|
|
|
|
# network configuration
|
|
set use_nic_bridge 1
|
|
set use_wifi_driver 0
|
|
set use_usb_11 "no"
|
|
set use_usb_20 "no"
|
|
set use_usb_30 "yes"
|
|
|
|
source ${genode_dir}/repos/ports/run/netperf_lwip.inc
|
|
source ${genode_dir}/repos/ports/run/netperf.inc
|