2
0
Fork 0

Test exits must propagate

When a test component exits this needs to be caught by a test harness,
therefore the intermediate init needs to exit as well.
This commit is contained in:
Emery Hemingway 2020-01-22 12:27:49 +01:00
parent 37144809f6
commit 3494b589ec
4 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ in λ ( _
{ test-libc =
Genode.Init.Start::{
, binary = "test-libc"
, exitPropagate = True
, resources = { caps = 200, ram = Genode.units.MiB 400 }
, routes = [ Genode.ServiceRoute.parent "Timer" ]
, config =

View File

@ -12,6 +12,7 @@ in { config =
{ test-pci =
Genode.Init.Start::{
, binary = "test-pci"
, exitPropagate = True
, resources = { caps = 96, ram = Genode.units.MiB 2 }
, routes =
[ Genode.ServiceRoute.child "Platform" "platform_drv" ]

View File

@ -12,6 +12,7 @@ in { config =
{ test-signal =
Genode.Init.Start::{
, binary = "test-signal"
, exitPropagate = True
, resources = { caps = 500, ram = Genode.units.MiB 10 }
, routes = [ Genode.ServiceRoute.parent "Timer" ]
}

View File

@ -10,6 +10,7 @@ in λ(testBinary : Genode.Prelude.Map.Entry Text Text)
{ solo5 =
Genode.Init.Start::{
, binary = testBinary.mapKey
, exitPropagate = True
, resources = { caps = 256, ram = Genode.units.MiB 3 }
, routes = [ Genode.ServiceRoute.parent "Timer" ]
, config =