Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

solo5.dhall 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. let Test = ../test.dhall ? env:DHALL_GENODE_TEST
  2. let Genode = Test.Genode
  3. let Prelude = Genode.Prelude
  4. let Init = Genode.Init
  5. let Child = Init.Child
  6. let Config = Init.Config
  7. let toSimple =
  8. λ(testName : Text) →
  9. Child.flat
  10. Child.Attributes::{
  11. , binary = "solo5-test_${testName}"
  12. , resources = Init.Resources::{ caps = 256, ram = Genode.units.MiB 3 }
  13. , config = Config::{
  14. , content =
  15. [ Prelude.XML.element
  16. { name = "cmdline"
  17. , attributes = Prelude.XML.emptyAttributes
  18. , content = [ Prelude.XML.text "Hello_Solo5" ]
  19. }
  20. ]
  21. }
  22. }
  23. in λ(params : { isAarch64 : Bool }) →
  24. let tests
  25. : Prelude.Map.Type Text Child.Type
  26. = toMap
  27. { quiet = toSimple "quiet"
  28. , hello = toSimple "hello"
  29. , globals = toSimple "globals"
  30. , time = ./time.dhall
  31. , blk = ./blk.dhall
  32. , net = ./net.dhall
  33. , net_2if = ./net_2if.dhall
  34. }
  35. # ( if params.isAarch64
  36. then Prelude.Map.empty Text Child.Type
  37. else toMap { fpu = toSimple "fpu" }
  38. )
  39. in Test::{ children = tests }