25 lines
408 B
Nix
25 lines
408 B
Nix
{ lib }:
|
|
let
|
|
|
|
evalTest = module: lib.evalModules { modules = testModules ++ [ module ]; };
|
|
runTest = module: (evalTest module).config.result;
|
|
|
|
testModules = [
|
|
./call-test.nix
|
|
./driver.nix
|
|
./interactive.nix
|
|
./legacy.nix
|
|
./meta.nix
|
|
./name.nix
|
|
./network.nix
|
|
./nodes.nix
|
|
./pkgs.nix
|
|
./run.nix
|
|
./testScript.nix
|
|
];
|
|
|
|
in
|
|
{
|
|
inherit evalTest runTest testModules;
|
|
}
|