You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
598 B
Nix
24 lines
598 B
Nix
{ testEnv, pkgs, depot }:
|
|
with pkgs;
|
|
|
|
testEnv.mkTest rec {
|
|
name = "libc";
|
|
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ ehmry ];
|
|
|
|
testConfig = testEnv.lib.renderDhallInit ./libc.dhall "{=}";
|
|
|
|
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" = "${os}/lib/vfs.lib.so";
|
|
};
|
|
|
|
qemuMem = 384;
|
|
|
|
testScript = ''
|
|
run_genode_until "child .* exited with exit value 0.*\n" 30
|
|
'';
|
|
}
|