mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-02 03:56:42 +00:00
run: restrict noux-auto to platforms known to work
* add to autopilot list Issue #591
This commit is contained in:
parent
01d267e551
commit
9b6d37649b
@ -4,6 +4,18 @@
|
|||||||
# \date 2012-11-26
|
# \date 2012-11-26
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if {[is_qemu_available]} {
|
||||||
|
puts "\nAuto test running on Qemu is not recommented.\n"
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
if {[have_spec pistachio]} {
|
||||||
|
puts "Pistachio is unsupported."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
assert_spec 32bit
|
||||||
|
assert_spec x86
|
||||||
|
|
||||||
set platform "nova_x86_32"
|
set platform "nova_x86_32"
|
||||||
set platform_base_dir "base-nova"
|
set platform_base_dir "base-nova"
|
||||||
set platform_pkgs ""
|
set platform_pkgs ""
|
||||||
@ -21,9 +33,17 @@ set time_start [ clock seconds ]
|
|||||||
run_genode_until {child /bin/bash exited with exit value 234} 600
|
run_genode_until {child /bin/bash exited with exit value 234} 600
|
||||||
|
|
||||||
set time_end [ clock seconds ]
|
set time_end [ clock seconds ]
|
||||||
set git_info [ exec git --git-dir=$genode_dir/.git describe ]
|
|
||||||
|
# cleanup created tars
|
||||||
|
foreach pkg $noux_pkgs { exec rm -f bin/$pkg.tar }
|
||||||
|
exec rm -f bin/genode.tar
|
||||||
|
|
||||||
|
# print infos about run
|
||||||
|
set git_info "unknown"
|
||||||
|
catch { set git_info [exec git --git-dir=$genode_dir/.git describe ] }
|
||||||
|
|
||||||
puts "Testing \" [ clock format $time_start -format "%Y-%m-%d %H:%M:%S"], commit: ($git_info)\" in : "
|
puts "Testing \" [ clock format $time_start -format "%Y-%m-%d %H:%M:%S"], commit: ($git_info)\" in : "
|
||||||
puts "Testing \"all\" in printf.wv:"
|
puts "Testing \"all\" in printf.wv:"
|
||||||
puts "! PERF: runtime [expr $time_end - $time_start ] seconds ok"
|
puts "! PERF: runtime [expr $time_end - $time_start ] seconds ok"
|
||||||
|
|
||||||
puts "Test succeeded"
|
puts "Test succeeded"
|
||||||
|
@ -24,3 +24,4 @@ netperf_bridge
|
|||||||
l4linux_netperf
|
l4linux_netperf
|
||||||
l4linux_netperf_usb30
|
l4linux_netperf_usb30
|
||||||
l4linux_netperf_bridge
|
l4linux_netperf_bridge
|
||||||
|
noux_tool_chain_auto
|
||||||
|
Loading…
Reference in New Issue
Block a user