mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-07 11:50:24 +00:00
base generic code: * Remove unused verbosity code from mmio framework * Remove escape sequence end heuristic from LOG * replace Core_console with Core_log (no format specifiers) * move test/printf to test/log * remove `printf()` tests from the log test * check for exact match of the log test output base-fiasco: * remove unused Fiasco::print_l4_threadid function base-nova: * remove unused hexdump utility from core base-hw: * remove unused Kernel::Thread::_print_* debug utilities * always print resource summary of core during startup * remove Kernel::Ipc_node::pd_label (not used anymore) base*: * Turn `printf`,`PWRN`, etc. calls into their log equivalents Ref #1987 Fix #2119
37 lines
853 B
Plaintext
37 lines
853 B
Plaintext
build "core init test/log"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="LOG"/>
|
|
<service name="RM"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> </any-service>
|
|
</default-route>
|
|
<start name="test-log">
|
|
<resource name="RAM" quantum="10M"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image "core init test-log"
|
|
|
|
append qemu_args "-nographic -m 64"
|
|
|
|
run_genode_until "Test done.*\n" 10
|
|
|
|
grep_output {\[init -\> test-log\]}
|
|
|
|
compare_output_to {
|
|
[init -> test-log] hex range: [0e00,1680)
|
|
[init -> test-log] empty hex range: [0abc0000,0abc0000) (empty!)
|
|
[init -> test-log] hex range to limit: [f8,ff]
|
|
[init -> test-log] invalid hex range: [f8,08) (overflow!)
|
|
[init -> test-log] negative hex char: 0xfe
|
|
[init -> test-log] positive hex char: 0x02
|
|
[init -> test-log] Test done.
|
|
}
|