mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +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 "\ntitle Genode on seL4"
|
||||
puts $fh " kernel /sel4"
|
||||
foreach binary $binaries {
|
||||
if {$binary != "core"} {
|
||||
puts $fh " module /genode/$binary" } }
|
||||
|
||||
# if only one binary was specified, use it as root task
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user