2015-01-02 19:16:49 +00:00
|
|
|
build "core init test/platform"
|
|
|
|
|
2015-08-25 13:20:54 +00:00
|
|
|
set check_pat 1
|
|
|
|
if {[have_include power_on/qemu]} {
|
|
|
|
set check_pat 0
|
|
|
|
}
|
|
|
|
|
2015-01-02 19:16:49 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
2015-08-25 13:20:54 +00:00
|
|
|
set config {
|
2015-01-02 19:16:49 +00:00
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="RAM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</default-route>
|
|
|
|
<start name="test-platform">
|
2015-08-25 13:20:54 +00:00
|
|
|
<resource name="RAM" quantum="96M"/>}
|
|
|
|
|
|
|
|
append config "
|
|
|
|
<config check_pat=\"$check_pat\"/\>"
|
|
|
|
|
|
|
|
append config {
|
2015-01-02 19:16:49 +00:00
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
2015-08-25 13:20:54 +00:00
|
|
|
install_config $config
|
|
|
|
|
2015-01-02 19:16:49 +00:00
|
|
|
build_boot_image "core init test-platform"
|
|
|
|
|
|
|
|
append qemu_args "-nographic -m 128"
|
|
|
|
|
2015-06-05 19:55:18 +00:00
|
|
|
run_genode_until {Test finished} 150
|
2015-01-02 19:16:49 +00:00
|
|
|
|
|
|
|
puts "\nTest succeeded"
|