5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
24 lines
468 B
Nix
24 lines
468 B
Nix
{ lib }:
|
|
let
|
|
|
|
evalTest = module: lib.evalModules { modules = testModules ++ [ module ]; };
|
|
runTest = module: (evalTest ({ config, ... }: { imports = [ module ]; result = config.test; })).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;
|
|
}
|