genode/ports/run/netperf_usb30.run
Alexander Boettcher 05d807db75 run: split native Genode netperf script
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
2013-07-11 11:01:37 +02:00

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