genode/repos/base-linux/run/region_map_mmap.run
Norman Feske f119d9ee8b base: use [build_artifacts] in run scripts
The patch also removes a few legacies along the way, unifies the coding
style, and cuts back superfluous comments.

Issue #4860
2023-05-30 12:03:26 +02:00

41 lines
977 B
Plaintext

build { core init lib/ld test/region_map_mmap timer test/signal }
create_boot_directory
install_config {
<config verbose="yes">
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-region_map_mmap">
<resource name="RAM" quantum="2M"/>
</start>
<!-- add signal test for concurrency -->
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="test-signal" caps="400">
<resource name="RAM" quantum="1M"/>
</start>
</config>}
build_boot_image [build_artifacts]
run_genode_until {--- Signalling test finished ---.*\n} 30
grep_output {\[init -\> test-region_map_mmap\] Done.}
compare_output_to {
[init -> test-region_map_mmap] Done.
}