2016-02-29 06:44:04 +00:00
|
|
|
build "core init test/rust"
|
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="LOG"/>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="PD"/>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="RAM"/>
|
|
|
|
<service name="CPU"/>
|
2016-02-29 06:44:04 +00:00
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</default-route>
|
2016-05-12 08:26:36 +00:00
|
|
|
<start name="test-rust">
|
2016-02-29 06:44:04 +00:00
|
|
|
<resource name="RAM" quantum="10M"/>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
2017-05-14 19:55:57 +00:00
|
|
|
build_boot_image "core init test-rust ld.lib.so libc.lib.so libm.lib.so posix.lib.so"
|
2016-02-29 06:44:04 +00:00
|
|
|
|
|
|
|
append qemu_args "-nographic -m 64"
|
|
|
|
|
|
|
|
run_genode_until { 42 } 10
|
|
|
|
|
|
|
|
puts "Test succeeded"
|