summary refs log tree commit diff
path: root/pkgs/lib/tests.nix
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2009-03-06 23:21:17 +0000
committerMarc Weber <marco-oweber@gmx.de>2009-03-06 23:21:17 +0000
commitf1183f33e3407bf626890484bb88fdd923b675a9 (patch)
treee625c6091e20debb9f49cba30f2d5e8b40be6421 /pkgs/lib/tests.nix
parent5ddfa7ed64682bae7fbf8dab45a2a1697a6cc425 (diff)
downloadnixpkgs-f1183f33e3407bf626890484bb88fdd923b675a9.tar
nixpkgs-f1183f33e3407bf626890484bb88fdd923b675a9.tar.gz
nixpkgs-f1183f33e3407bf626890484bb88fdd923b675a9.tar.bz2
nixpkgs-f1183f33e3407bf626890484bb88fdd923b675a9.tar.lz
nixpkgs-f1183f33e3407bf626890484bb88fdd923b675a9.tar.xz
nixpkgs-f1183f33e3407bf626890484bb88fdd923b675a9.tar.zst
nixpkgs-f1183f33e3407bf626890484bb88fdd923b675a9.zip
added simple lib test case for overridableDelayableArgs
svn path=/nixpkgs/trunk/; revision=14426
Diffstat (limited to 'pkgs/lib/tests.nix')
-rw-r--r--pkgs/lib/tests.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/lib/tests.nix b/pkgs/lib/tests.nix
new file mode 100644
index 00000000000..2e75d7f141f
--- /dev/null
+++ b/pkgs/lib/tests.nix
@@ -0,0 +1,8 @@
+let lib = import ./default.nix;
+
+  miscTests = import ./misc-tests.nix;
+
+in
+  if lib.all (a : a == "ok") (lib.concatLists [ miscTests ]) then
+    throw "all tests have passed"
+    else "there has been a some lib test failures"