2015-05-28 11:57:21 +00:00
|
|
|
assert_spec linux
|
|
|
|
|
|
|
|
build "core init test/stdcxx"
|
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="LOG"/>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="PD"/>
|
2015-05-28 11:57:21 +00:00
|
|
|
<service name="ROM"/>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="RAM"/>
|
|
|
|
<service name="CPU"/>
|
2015-05-28 11:57:21 +00:00
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</default-route>
|
2017-05-07 20:36:11 +00:00
|
|
|
<default caps="100"/>
|
2015-05-28 11:57:21 +00:00
|
|
|
<start name="test-stdcxx">
|
|
|
|
<resource name="RAM" quantum="10M"/>
|
|
|
|
<config>
|
2017-03-20 11:04:55 +00:00
|
|
|
<vfs> <dir name="dev"> <log/> </dir> </vfs>
|
|
|
|
<libc stdout="/dev/log"/>
|
2015-05-28 11:57:21 +00:00
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
|
|
|
build_boot_image {
|
|
|
|
core init test-stdcxx
|
2017-05-14 19:55:57 +00:00
|
|
|
ld.lib.so libc.lib.so libm.lib.so stdcxx.lib.so posix.lib.so
|
2015-05-28 11:57:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
append qemu_args " -nographic -m 64 "
|
|
|
|
|
|
|
|
run_genode_until ".*test-stdcxx finished.*\n" 10
|