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.

default.nix 909B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. { pkgs, ... }:
  2. with pkgs;
  3. let
  4. solo5Test = { name, machine, ... }@args:
  5. args // {
  6. name = "solo5-" + name;
  7. machine = machine // {
  8. inputs = [ pkgs.solo5 pkgs.solo5.tests ] ++ machine.inputs;
  9. };
  10. };
  11. genodeDepot = pkgs.genodeSources.depot;
  12. genodeMake = pkgs.genodeSources.make;
  13. in map solo5Test [
  14. {
  15. name = "multi";
  16. machine = {
  17. config = "${./.}/solo5.dhall { isAarch64 = ${
  18. if pkgs.stdenv.hostPlatform.isAarch64 then "True" else "False"
  19. } }";
  20. inputs = map genodeMake [ "app/ping" ] ++ (map genodeDepot [
  21. "ram_block"
  22. "nic_bridge"
  23. "nic_loopback"
  24. "sequence"
  25. ]);
  26. };
  27. }
  28. {
  29. name = "ssp";
  30. machine = {
  31. config = ./ssp.dhall;
  32. inputs = [ ];
  33. };
  34. testScript = ''
  35. start_all()
  36. machine.wait_until_serial_output("Error: stack protector check failed")
  37. '';
  38. }
  39. ]