genode/repos/libports/run/stdcxx.run

52 lines
1.2 KiB
Plaintext
Raw Normal View History

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"/>
<service name="PD"/>
2015-05-28 11:57:21 +00:00
<service name="ROM"/>
<service name="CPU"/>
2015-05-28 11:57:21 +00:00
</parent-provides>
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
2015-05-28 11:57:21 +00:00
<start name="test-stdcxx">
<resource name="RAM" quantum="10M"/>
<config>
<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
ld.lib.so libc.lib.so vfs.lib.so libm.lib.so stdcxx.lib.so posix.lib.so
2015-05-28 11:57:21 +00:00
}
append qemu_args " -nographic "
2015-05-28 11:57:21 +00:00
run_genode_until ".*test-stdcxx finished.*\n" 20
grep_output {^\[init }
compare_output_to {
[init -> test-stdcxx] ° °° °°° test-stdcxx started °°° °° °
[init -> test-stdcxx] 2015.000000 - 5.000000 - 4
[init -> test-stdcxx] 2015 - 5 - 4
[init -> test-stdcxx] 123
[init -> test-stdcxx] 456
[init -> test-stdcxx] 7.8
[init -> test-stdcxx] caught std::invalid_argument
2018-03-14 15:36:49 +00:00
[init -> test-stdcxx] 1
[init -> test-stdcxx] 2
[init -> test-stdcxx] ° °° °°° test-stdcxx finished °°° °° °
}