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="CPU"/>
|
2016-02-29 06:44:04 +00:00
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</default-route>
|
2017-05-07 20:36:11 +00:00
|
|
|
<default caps="100"/>
|
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
|
|
|
|
2017-05-23 13:05:55 +00:00
|
|
|
append qemu_args "-nographic "
|
2016-02-29 06:44:04 +00:00
|
|
|
|
2017-08-14 06:19:24 +00:00
|
|
|
run_genode_until { 42 } 20
|
2016-02-29 06:44:04 +00:00
|
|
|
|
|
|
|
puts "Test succeeded"
|