nic_bridge.run: don't execute on hardware

The nic_bridge test is not suitable to be executed on hardware so it should,
in case, print an appropriate message and return without doing anything else.

Issue 
This commit is contained in:
Martin Stein 2018-04-24 17:49:29 +02:00 committed by Christian Helmuth
parent 80749798c3
commit 09ad962418
2 changed files with 7 additions and 1 deletions
repos/libports/run
tool

@ -2,6 +2,11 @@
# Build
#
if {![have_include power_on/qemu]} {
puts "Run script is only supported on Qemu"
exit 0
}
set build_components {
core init
drivers/timer drivers/nic
@ -122,4 +127,4 @@ append_if [have_spec lan9118] qemu_args " -net nic,model=lan9118 "
append qemu_args " -net user "
run_genode_until forever
run_genode_until ".*\"test-http_clnt\" exited with exit value 0.*\n" 30

@ -92,6 +92,7 @@ smartcard
new_delete
timeout
nic_router
nic_bridge
init_smp
sd_card_bench
ram_fs_chunk