noux: start time measuring with first noux output

Don't account the boottime to the actual compile time - since it varies quite
a lot if somebody else utilize the network with lwip tests for example ;-).
This commit is contained in:
Alexander Boettcher 2013-08-22 12:04:37 +02:00 committed by Christian Helmuth
parent 1df1611f45
commit 9cf315b37e
1 changed files with 6 additions and 2 deletions

View File

@ -28,9 +28,13 @@ source ${genode_dir}/ports/run/noux_tool_chain.inc
append qemu_args " -m 768 "
set time_start [ clock seconds ]
# wait until Noux started
run_genode_until {\[init -\> noux\].*--- noux started ---} 100
set serial_id $spawn_id
run_genode_until {child /bin/bash exited with exit value 234} 600
# start the measurement
set time_start [ clock seconds ]
run_genode_until {child /bin/bash exited with exit value 234} 400 $serial_id
set time_end [ clock seconds ]