genode/repos/base/run/sub_rm.run

38 lines
1.0 KiB
Plaintext
Raw Normal View History

build { core init lib/ld test/sub_rm }
2011-12-22 15:19:25 +00:00
create_boot_directory
proc local_attach_addr {} { return "0x70000000" }
proc attach_twice_forbidden {} { if { [have_spec linux] } { return true } else { return false } }
proc support_attach_sub_any {} { if { [have_spec linux] } { return false } else { return true } }
append config {
2011-12-22 15:19:25 +00:00
<config>
<parent-provides>
<service name="ROM"/>
<service name="CPU"/>
<service name="RM"/>
<service name="PD"/>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-sub_rm">
2011-12-22 15:19:25 +00:00
<resource name="RAM" quantum="10M"/>
<config local_attach_addr="} [local_attach_addr] {"
attach_twice_forbidden="} [attach_twice_forbidden] {"
support_attach_sub_any="} [support_attach_sub_any] {"/>
2011-12-22 15:19:25 +00:00
</start>
</config>
}
install_config $config
build_boot_image [build_artifacts]
2011-12-22 15:19:25 +00:00
append qemu_args "-nographic "
2011-12-22 15:19:25 +00:00
run_genode_until {.*--- end of sub-rm test ---.*} 20