2
0
Fork 0
genodepkgs/tests/solo5.nix

19 lines
487 B
Nix
Raw Normal View History

2019-10-06 20:35:54 +02:00
{ pkgs, lib }:
with pkgs;
rec {
name = "solo5";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ ehmry ];
testConfig = lib.renderDhallInit ./solo5.dhall "{=}";
testScript = ''
2019-10-07 21:58:35 +02:00
global modules
2019-10-06 20:35:54 +02:00
file link -s solo5.lib.so ${solo5}/lib/solo5-bindings-genode/solo5.lib.so
file link -s solo5-test_hello ${solo5.tests}/bin/solo5-test_hello
2019-10-07 21:58:35 +02:00
append modules { solo5.lib.so solo5-test_hello }
2019-10-06 20:35:54 +02:00
run_genode_until "child .* exited with exit value 0.*\n" 30
'';
}