2023-05-04 12:11:51 +00:00
|
|
|
build { core init lib/ld test/region_map_mmap timer test/signal }
|
2012-12-19 08:05:50 +00:00
|
|
|
|
|
|
|
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>
|
2017-05-07 20:36:11 +00:00
|
|
|
<default caps="100"/>
|
2016-04-15 13:19:22 +00:00
|
|
|
<start name="test-region_map_mmap">
|
2012-12-19 08:05:50 +00:00
|
|
|
<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>
|
2023-05-04 12:11:51 +00:00
|
|
|
<start name="test-signal" caps="400">
|
2012-12-19 08:05:50 +00:00
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
build_boot_image [build_artifacts]
|
2012-12-19 08:05:50 +00:00
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
run_genode_until {--- Signalling test finished ---.*\n} 30
|
2012-12-19 08:05:50 +00:00
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
grep_output {\[init -\> test-region_map_mmap\] Done.}
|
|
|
|
|
|
|
|
compare_output_to {
|
|
|
|
[init -> test-region_map_mmap] Done.
|
|
|
|
}
|