mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 08:51:08 +00:00
05d807db75
Split the netperf run script into 3 ones so that it can be used more easily in an automated run. netperf.run - use native nic driver (x86) or usb2.0 (arndale, panda) netperf_usb30.run - use native nic driver (x86) or usb3.0 netperf_bridge.run - use native nic driver (x86) or usb3.0 (arndale) and bridge Issue #794
25 lines
572 B
Plaintext
25 lines
572 B
Plaintext
#
|
|
# \brief Test using netperf 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 {[is_qemu_available]} {
|
|
puts "\nNetperf running on Qemu is not recommented.\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 0
|
|
set use_usb_11 "no"
|
|
set use_usb_20 "no"
|
|
set use_usb_30 "yes"
|
|
|
|
source ${genode_dir}/ports/run/netperf.inc
|