repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
librepcb: 1.1.0 -> 1.2.0
[NixPkgs.git]
/
nixos
/
lib
/
testing
/
default.nix
blob
a89f734b1e64509d6c2bf992c2c36a3b030d31ef
1
{ lib }:
2
let
3
4
evalTest = module: lib.evalModules {
5
modules = testModules ++ [ module ];
6
class = "nixosTest";
7
};
8
runTest = module: (evalTest ({ config, ... }: { imports = [ module ]; result = config.test; })).config.result;
9
10
testModules = [
11
./call-test.nix
12
./driver.nix
13
./interactive.nix
14
./legacy.nix
15
./meta.nix
16
./name.nix
17
./network.nix
18
./nodes.nix
19
./pkgs.nix
20
./run.nix
21
./testScript.nix
22
];
23
24
in
25
{
26
inherit evalTest runTest testModules;
27
}