trivial-builders: Move test list closer
This commit is contained in:
parent
d1dc8384ca
commit
89bdfd4687
2 changed files with 30 additions and 12 deletions
29
pkgs/build-support/trivial-builders/test/default.nix
Normal file
29
pkgs/build-support/trivial-builders/test/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
Run all tests with:
|
||||
|
||||
cd nixpkgs
|
||||
nix-build -A tests.trivial-builders
|
||||
|
||||
or run a specific test with:
|
||||
|
||||
cd nixpkgs
|
||||
nix-build -A tests.trivial-builders.foo
|
||||
|
||||
*/
|
||||
|
||||
{ callPackage, lib }:
|
||||
let
|
||||
inherit (lib) recurseIntoAttrs;
|
||||
in
|
||||
recurseIntoAttrs {
|
||||
concat = callPackage ./concat-test.nix {};
|
||||
linkFarm = callPackage ./link-farm.nix {};
|
||||
overriding = callPackage ../test-overriding.nix {};
|
||||
references = callPackage ./references.nix {};
|
||||
writeCBin = callPackage ./writeCBin.nix {};
|
||||
writeScriptBin = callPackage ./writeScriptBin.nix {};
|
||||
writeShellScript = callPackage ./write-shell-script.nix {};
|
||||
writeShellScriptBin = callPackage ./writeShellScriptBin.nix {};
|
||||
writeStringReferencesToFile = callPackage ./writeStringReferencesToFile.nix {};
|
||||
writeTextFile = callPackage ./write-text-file.nix {};
|
||||
}
|
|
@ -66,18 +66,7 @@ with pkgs;
|
|||
|
||||
cuda = callPackage ./cuda { };
|
||||
|
||||
trivial-builders = recurseIntoAttrs {
|
||||
writeCBin = callPackage ../build-support/trivial-builders/test/writeCBin.nix {};
|
||||
writeScriptBin = callPackage ../build-support/trivial-builders/test/writeScriptBin.nix {};
|
||||
writeStringReferencesToFile = callPackage ../build-support/trivial-builders/test/writeStringReferencesToFile.nix {};
|
||||
writeTextFile = callPackage ../build-support/trivial-builders/test/write-text-file.nix {};
|
||||
writeShellScript = callPackage ../build-support/trivial-builders/test/write-shell-script.nix {};
|
||||
writeShellScriptBin = callPackage ../build-support/trivial-builders/test/writeShellScriptBin.nix {};
|
||||
references = callPackage ../build-support/trivial-builders/test/references.nix {};
|
||||
overriding = callPackage ../build-support/trivial-builders/test-overriding.nix {};
|
||||
concat = callPackage ../build-support/trivial-builders/test/concat-test.nix {};
|
||||
linkFarm = callPackage ../build-support/trivial-builders/test/link-farm.nix {};
|
||||
};
|
||||
trivial-builders = callPackage ../build-support/trivial-builders/test/default.nix {};
|
||||
|
||||
writers = callPackage ../build-support/writers/test.nix {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue