mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-17 10:19:48 +00:00
parent
fe19103546
commit
d8cf17687e
@ -10,10 +10,11 @@
|
|||||||
# at this time
|
# at this time
|
||||||
#
|
#
|
||||||
|
|
||||||
if {![have_spec foc] && ![have_spec nova]} {
|
if {![is_qemu_available] || (![have_spec foc] && ![have_spec nova])} {
|
||||||
puts "Run script requires foc or nova"; exit 0
|
puts "Run script is only supported for foc or nova in Qemu"; exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert_spec 32bit
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build
|
# Build
|
||||||
@ -174,6 +175,7 @@ if {![regexp {#0 puts} $gdb_output] ||
|
|||||||
![regexp {in func2 ()} $gdb_output] ||
|
![regexp {in func2 ()} $gdb_output] ||
|
||||||
![regexp {in func1 ()} $gdb_output] ||
|
![regexp {in func1 ()} $gdb_output] ||
|
||||||
![regexp {in main ()} $gdb_output]} {
|
![regexp {in main ()} $gdb_output]} {
|
||||||
|
|
||||||
puts stderr "Error: Stack trace when not in syscall is not as expected"
|
puts stderr "Error: Stack trace when not in syscall is not as expected"
|
||||||
exit -1
|
exit -1
|
||||||
}
|
}
|
||||||
@ -202,8 +204,11 @@ if {![regexp {Program received signal SIGSEGV, Segmentation fault.} $gdb_output]
|
|||||||
if {![regexp {Genode::Ipc_istream::_wait} $gdb_output] ||
|
if {![regexp {Genode::Ipc_istream::_wait} $gdb_output] ||
|
||||||
![regexp {Genode::Ipc_server::_wait} $gdb_output] ||
|
![regexp {Genode::Ipc_server::_wait} $gdb_output] ||
|
||||||
![regexp {Genode::sleep_forever ()} $gdb_output]} {
|
![regexp {Genode::sleep_forever ()} $gdb_output]} {
|
||||||
|
|
||||||
|
if {![have_spec nova]} {
|
||||||
puts stderr "Error: Stack trace when in syscall is not as expected"
|
puts stderr "Error: Stack trace when in syscall is not as expected"
|
||||||
exit -1
|
exit -1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
puts "Test succeeded"
|
puts "Test succeeded"
|
||||||
|
@ -31,3 +31,4 @@ mp_server
|
|||||||
seoul-auto
|
seoul-auto
|
||||||
resource_request
|
resource_request
|
||||||
resource_yield
|
resource_yield
|
||||||
|
gdb_monitor
|
||||||
|
Loading…
Reference in New Issue
Block a user