2024-05-01 22:14:04 +00:00
|
|
|
# Throws an error if any of our lib tests fail.
|
|
|
|
|
2024-06-30 08:12:46 +00:00
|
|
|
let
|
|
|
|
tests = [
|
|
|
|
"misc"
|
|
|
|
"systems"
|
|
|
|
];
|
|
|
|
all = builtins.concatLists (map (f: import (./. + "/${f}.nix")) tests);
|
|
|
|
in
|
|
|
|
if all == [ ] then null else throw (builtins.toJSON all)
|