mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
sel4: let run tool support core and non-core tests
This commit is contained in:
parent
65a74cf5e0
commit
b8c107ceb2
@ -24,9 +24,15 @@ proc run_boot_dir {binaries} {
|
|||||||
puts $fh "default 0"
|
puts $fh "default 0"
|
||||||
puts $fh "\ntitle Genode on seL4"
|
puts $fh "\ntitle Genode on seL4"
|
||||||
puts $fh " kernel /sel4"
|
puts $fh " kernel /sel4"
|
||||||
foreach binary $binaries {
|
|
||||||
if {$binary != "core"} {
|
# if only one binary was specified, use it as root task
|
||||||
puts $fh " module /genode/$binary" } }
|
if {[llength $binaries] == 1} {
|
||||||
|
puts $fh " module /genode/[lindex $binaries 0]"
|
||||||
|
|
||||||
|
# for real scenarios, use core as root task
|
||||||
|
} else {
|
||||||
|
puts $fh " module /genode/core"
|
||||||
|
}
|
||||||
close $fh
|
close $fh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user