Browse Source

Solo5 tests must exit for Sotest compatibility

20.02
Emery Hemingway 2 years ago
parent
commit
c5da3100c4
  1. 1
      tests/solo5/blk.dhall
  2. 4
      tests/solo5/default.nix
  3. 1
      tests/solo5/net.dhall
  4. 1
      tests/solo5/net_2if.dhall
  5. 1
      tests/solo5/time.dhall

1
tests/solo5/blk.dhall

@ -13,6 +13,7 @@ in { config =
{ solo5 =
Genode.Init.Start::{
, binary = "solo5-test_blk"
, exitPropagate = True
, resources = { caps = 256, ram = Genode.units.MiB 3 }
, routes =
[ Genode.ServiceRoute.parent "Timer"

4
tests/solo5/default.nix

@ -54,7 +54,7 @@ let
name = "net";
testConfig = ./net.dhall;
testScript = ''
run_genode_until {child "ping" exited with exit value 0} 30
run_genode_until {child "init" exited with exit value 0} 30
'';
qemuMem = 64;
}
@ -63,7 +63,7 @@ let
name = "net_2if";
testConfig = ./net_2if.dhall;
testScript = ''
run_genode_until {child "clients" exited with exit value 0} 30
run_genode_until {child "init" exited with exit value 0} 30
'';
qemuMem = 64;
}

1
tests/solo5/net.dhall

@ -49,6 +49,7 @@ in { config =
, ping =
Genode.Init.Start::{
, binary = "ping"
, exitPropagate = True
, resources = { caps = 128, ram = Genode.units.MiB 6 }
, routes =
[ Genode.ServiceRoute.parent "Timer"

1
tests/solo5/net_2if.dhall

@ -52,6 +52,7 @@ in { config =
, clients =
Genode.Init.Start::{
, binary = "sequence"
, exitPropagate = True
, resources = { caps = 256, ram = Genode.units.MiB 8 }
, routes =
[ Genode.ServiceRoute.parent "Timer"

1
tests/solo5/time.dhall

@ -15,6 +15,7 @@ in { config =
{ solo5 =
Genode.Init.Start::{
, binary = test.mapKey
, exitPropagate = True
, resources = { caps = 256, ram = Genode.units.MiB 3 }
, routes =
[ Genode.ServiceRoute.parent "Timer"

Loading…
Cancel
Save