mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
netperf: move check for qemu to netperf.inc
This commit is contained in:
parent
9d82720a29
commit
c05a80a139
@ -4,6 +4,11 @@
|
||||
# \date 2013-04-18
|
||||
#
|
||||
|
||||
if {[is_qemu_available]} {
|
||||
puts "\nNetperf running on Qemu is not recommended.\n"
|
||||
exit
|
||||
}
|
||||
|
||||
set use_usb_driver [expr [have_spec omap4] || [have_spec exynos5]]
|
||||
set use_nic_driver [expr !$use_usb_driver && ![have_spec platform_imx53]]
|
||||
set use_platform_driver [expr [have_spec platform_arndale] || [have_spec platform_imx53]]
|
||||
@ -174,7 +179,7 @@ append config {
|
||||
<arg value="-4"/>
|
||||
<arg value="-f"/>
|
||||
<libc tx_buf_size="2M" rx_buf_size="2M"}
|
||||
append_if [have_spec linux] config "ip_addr=\"$lx_ip_addr\" netmask=\"255.255.255.0\" gateway=\"10.0.2.1\""
|
||||
append_if [have_spec linux] config " ip_addr=\"$lx_ip_addr\" netmask=\"255.255.255.0\" gateway=\"10.0.2.1\""
|
||||
append config {/>
|
||||
</config>}
|
||||
append_if $use_nic_bridge config {
|
||||
|
@ -5,11 +5,6 @@
|
||||
# \date 2013-07-08
|
||||
#
|
||||
|
||||
if {[is_qemu_available]} {
|
||||
puts "\nNetperf running on Qemu is not recommented.\n"
|
||||
exit
|
||||
}
|
||||
|
||||
# network configuration
|
||||
set use_nic_bridge 0
|
||||
set use_usb_11 "no"
|
||||
|
@ -5,11 +5,6 @@
|
||||
# \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
|
||||
|
@ -5,11 +5,6 @@
|
||||
# \date 2013-07-08
|
||||
#
|
||||
|
||||
if {[is_qemu_available]} {
|
||||
puts "\nNetperf running on Qemu is not recommented.\n"
|
||||
exit
|
||||
}
|
||||
|
||||
# network configuration
|
||||
set use_nic_bridge 0
|
||||
set use_usb_11 "no"
|
||||
|
@ -5,11 +5,6 @@
|
||||
# \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
|
||||
|
Loading…
x
Reference in New Issue
Block a user