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"
|
|
|
|
|
2016-09-02 08:40:08 +00:00
|
|
|
append qemu_args "-nographic -m 128 -smp 2"
|
2015-01-02 19:16:49 +00:00
|
|
|
|
2016-11-10 10:46:30 +00:00
|
|
|
run_genode_until {Test finished} 200
|
2015-01-02 19:16:49 +00:00
|
|
|
|
|
|
|
puts "\nTest succeeded"
|