mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
f1eb2f35a6
This can be used by evaluation-only tools to validate tests are still working.
7 lines
226 B
Nix
7 lines
226 B
Nix
# Throws an error if any of our lib tests fail.
|
|
|
|
let tests = [ "misc" "systems" ];
|
|
all = builtins.concatLists (map (f: import (./. + "/${f}.nix")) tests);
|
|
in if all == []
|
|
then null
|
|
else throw (builtins.toJSON all)
|