diff options
author | Robert Hensing <robert@roberthensing.nl> | 2021-11-01 00:06:03 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2021-11-01 00:06:03 +0100 |
commit | 51f7c15df992de82812e3f3f3e48d677fa0ed172 (patch) | |
tree | 3e7a5249fac5781a8f86639d9ba569a4eea0636f /pkgs/test | |
parent | e544ee88fa4590df75e221e645a03fe157a99e5b (diff) |
test.trivial-builders: Add test cases, fix test runner, rename
The writeStringReferencesToFile didn't handle non-unique references to the same path correctly.
Diffstat (limited to 'pkgs/test')
-rw-r--r-- | pkgs/test/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index ebf732839ceaf..80d82e5bee07d 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -51,8 +51,11 @@ with pkgs; cuda = callPackage ./cuda { }; - trivial = callPackage ../build-support/trivial-builders/test.nix {}; - trivial-overriding = callPackage ../build-support/trivial-builders/test-overriding.nix {}; + trivial-builders = recurseIntoAttrs { + writeStringReferencesToFile = callPackage ../build-support/trivial-builders/test/writeStringReferencesToFile.nix {}; + references = callPackage ../build-support/trivial-builders/test/references.nix {}; + overriding = callPackage ../build-support/trivial-builders/test-overriding.nix {}; + }; writers = callPackage ../build-support/writers/test.nix {}; } |