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 930B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. "nic_bridge"
  22. "nic_loopback"
  23. "sequence"
  24. "vfs_block"
  25. "vfs_import"
  26. ]);
  27. };
  28. }
  29. {
  30. name = "ssp";
  31. machine = {
  32. config = ./ssp.dhall;
  33. inputs = [ ];
  34. };
  35. testScript = ''
  36. start_all()
  37. machine.wait_until_serial_output("Error: stack protector check failed")
  38. '';
  39. }
  40. ]