mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
d59d07b5e3
This patch adds a simple UTF-8 decoder at 'os/include/util/utf8.h' along with a test at 'os/run/utf8.run'. Fixes #2717, related to issue #2716
28 lines
579 B
Plaintext
28 lines
579 B
Plaintext
build "core init test/utf8"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="LOG"/>
|
|
<service name="CPU"/>
|
|
<service name="PD"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <any-child/> <parent/> </any-service>
|
|
</default-route>
|
|
<default caps="100"/>
|
|
<start name="test-utf8">
|
|
<resource name="RAM" quantum="1M"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image "core ld.lib.so init test-utf8"
|
|
|
|
append qemu_args "-nographic "
|
|
|
|
run_genode_until {.*child "test-utf8" exited with exit value 0.*\n} 10
|