mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
init.run: prioritize timer over test
The 200-second timeout of the init test triggers on some test platform (in particular on qemu) while it is overly pessimistic on others. This patch aims at stabilizing the timing behavior of the test across the tested kernels/machines.
This commit is contained in:
parent
3bbeacad20
commit
365d0bccd5
@ -13,7 +13,7 @@ create_boot_directory
|
|||||||
#
|
#
|
||||||
|
|
||||||
append config {
|
append config {
|
||||||
<config>
|
<config prio_levels="2">
|
||||||
<parent-provides>
|
<parent-provides>
|
||||||
<service name="ROM"/>
|
<service name="ROM"/>
|
||||||
<service name="CPU"/>
|
<service name="CPU"/>
|
||||||
@ -35,7 +35,7 @@ append config {
|
|||||||
<provides><service name="Timer"/></provides>
|
<provides><service name="Timer"/></provides>
|
||||||
</start>
|
</start>
|
||||||
|
|
||||||
<start name="report_rom">
|
<start name="report_rom" priority="-1">
|
||||||
<resource name="RAM" quantum="2M"/>
|
<resource name="RAM" quantum="2M"/>
|
||||||
<provides> <service name="ROM"/> <service name="Report"/> </provides>
|
<provides> <service name="ROM"/> <service name="Report"/> </provides>
|
||||||
<config verbose="no">
|
<config verbose="no">
|
||||||
@ -44,7 +44,7 @@ append config {
|
|||||||
</config>
|
</config>
|
||||||
</start>
|
</start>
|
||||||
|
|
||||||
<start name="test-init">
|
<start name="test-init" priority="-1">
|
||||||
<resource name="RAM" quantum="4M"/>
|
<resource name="RAM" quantum="4M"/>
|
||||||
<provides> <service name="LOG"/> </provides>
|
<provides> <service name="LOG"/> </provides>
|
||||||
<config>
|
<config>
|
||||||
@ -1518,7 +1518,7 @@ append config {
|
|||||||
</route>
|
</route>
|
||||||
</start>
|
</start>
|
||||||
|
|
||||||
<start name="init" caps="2000">
|
<start name="init" caps="2000" priority="-1">
|
||||||
<binary name="init"/>
|
<binary name="init"/>
|
||||||
<resource name="RAM" quantum="16M"/>
|
<resource name="RAM" quantum="16M"/>
|
||||||
<configfile name="init.config"/>
|
<configfile name="init.config"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user