genode/repos/base-nova/run/platform.run
2016-11-25 15:30:57 +01:00

43 lines
765 B
Plaintext

build "core init test/platform"
set check_pat 1
if {[have_include power_on/qemu]} {
set check_pat 0
}
create_boot_directory
set config {
<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">
<resource name="RAM" quantum="96M"/>}
append config "
<config check_pat=\"$check_pat\"/\>"
append config {
</start>
</config>
}
install_config $config
build_boot_image "core init test-platform"
append qemu_args "-nographic -m 128 -smp 2"
run_genode_until {Test finished} 200
puts "\nTest succeeded"