2
0
Fork 0
genodepkgs/tests/libc.nix

24 lines
571 B
Nix
Raw Normal View History

2019-10-03 19:50:34 +02:00
{ pkgs, lib }:
with pkgs;
rec {
name = "libc";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ ehmry ];
testConfig = lib.renderDhallInit ./libc.dhall "{=}";
2019-10-03 19:50:34 +02:00
bootModules = {
"libc.lib.so" = "${depot.libc}/lib/libc.lib.so";
"libm.lib.so" = "${depot.libc}/lib/libm.lib.so";
"posix.lib.so" = "${depot.posix}/lib/posix.lib.so";
"test-libc" = "${depot.test-libc}/bin/test-libc";
"vfs.lib.so" = "${depot.vfs}/lib/vfs.lib.so";
};
qemuMem = 384;
2019-10-08 09:13:07 +02:00
testScript = ''
2019-10-03 19:50:34 +02:00
run_genode_until "child .* exited with exit value 0.*\n" 30
'';
}