about summary refs log tree commit diff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2013-04-23 Test whether --fallback works if NARS have disappeared from the binary cacheEelco Dolstra1-0/+14
2013-04-23 Test NAR info cachingEelco Dolstra1-1/+3
2013-03-08 Revert "Prevent config.h from being clobbered"Eelco Dolstra2-6/+6
This reverts commit 28bba8c44f484eae38e8a15dcec73cfa999156f6.
2013-03-07 Prevent config.h from being clobberedEelco Dolstra2-6/+6
2013-02-08 Rename "hash" to "hashString" and handle SHA-1Eelco Dolstra2-5/+6
2013-02-08 experimental/hashMarc Weber2-0/+7
adding primop function calculating hash of a string Signed-off-by: Marc Weber <marco-oweber@gmx.de>
2013-01-21 Fix the VM testsEelco Dolstra2-6/+6
2013-01-02 UrggghEelco Dolstra3-3/+5
http://hydra.nixos.org/build/3661100
2013-01-02 If a substitute closure is incomplete, build dependencies, then retry the ↵Eelco Dolstra1-1/+2
substituter Issue #77.
2013-01-02 Add a test for incomplete closures in the binary cacheEelco Dolstra1-0/+8
Issue #77.
2012-12-04 Test prioritiesEelco Dolstra3-4/+13
2012-12-04 Add a test for ‘nix-env --set-flag active ...’Eelco Dolstra1-1/+9
2012-12-03 Test the ‘--prebuilt-only’ flagEelco Dolstra1-0/+3
2012-11-26 Fix the multiple-outputs testEelco Dolstra1-1/+4
2012-10-03 Fix the testEelco Dolstra1-4/+4
2012-10-03 Rename nix-worker to nix-daemonEelco Dolstra1-2/+2
2012-10-03 Drop support for running nix-worker in "slave" modeEelco Dolstra1-6/+0
AFAIK nobody uses this, setuid binaries are evil, and there is no good reason why people can't just run the daemon.
2012-09-27 Allow dashes in identifiersEelco Dolstra1-2/+2
In Nixpkgs, the attribute in all-packages.nix corresponding to a package is usually equal to the package name. However, this doesn't work if the package contains a dash, which is fairly common. The convention is to replace the dash with an underscore (e.g. "dbus-lib" becomes "dbus_glib"), but that's annoying. So now dashes are valid in variable / attribute names, allowing you to write: dbus-glib = callPackage ../development/libraries/dbus-glib { }; and buildInputs = [ dbus-glib ]; Since we don't have a negation or subtraction operation in Nix, this is unambiguous.
2012-09-14 Fix testEelco Dolstra1-1/+1
http://hydra.nixos.org/build/3031382
2012-09-13 Add a test for nix-profile.shEelco Dolstra3-1/+12
2012-09-13 Fix the store optimisation testEelco Dolstra1-2/+2
http://hydra.nixos.org/build/3026118
2012-09-12 Handle gc-keep-outputs and gc-keep-derivations both enabledEelco Dolstra1-1/+3
If the options gc-keep-outputs and gc-keep-derivations are both enabled, you can get a cycle in the liveness graph. There was a hack to handle this, but it didn't work with multiple-output derivations, causing the garbage collector to fail with errors like ‘error: cannot delete path `...' because it is in use by `...'’. The garbage collector now handles strongly connected components in the liveness graph as a unit and decides whether to delete all or none of the paths in an SCC.
2012-09-12 Fix test failure on DarwinEelco Dolstra2-1/+2
Apparently our DBD::SQLite links against /usr/lib/libsqlite3.dylib, which is an old version that doesn't respect foreign key constraints. So manifests/cache.sqlite doesn't get updated properly when a manifest disappears. We should fix our DBD::SQLite, but in the meantime this will fix the test. http://hydra.nixos.org/build/3017959
2012-09-11 Don't put results symlinks in the tests directoryEelco Dolstra12-24/+25
2012-09-11 Test hash rewritingEelco Dolstra1-4/+20
2012-07-30 Fix the testEelco Dolstra1-4/+4
2012-07-27 Allow a binary cache to declare that it doesn't support "nix-env -qas"Eelco Dolstra1-1/+14
Querying all substitutable paths via "nix-env -qas" is potentially hard on a server, since it involves sending thousands of HEAD requests. So a binary cache must now have a meta-info file named "nix-cache-info" that specifies whether the server wants this. It also specifies the store prefix so that we don't send useless queries to a binary cache for a different store prefix.
2012-07-27 Use "set -x" in the tests to see where a test failsEelco Dolstra2-0/+4
2012-07-27 Test "nix-env -qas" with the binary cache substituterEelco Dolstra1-1/+4
2012-07-27 Let build.cc verify the expected hash of a substituter's outputEelco Dolstra1-0/+1
Since SubstitutionGoal::finished() in build.cc computes the hash anyway, we can prevent the inefficiency of computing the hash twice by letting the substituter tell Nix about the expected hash, which can then verify it.
2012-07-26 nix-push: Support generating a manifest againEelco Dolstra5-7/+12
This makes all the tests succeed. Woohoo!
2012-07-26 Fix the substituter testsEelco Dolstra2-29/+34
2012-07-26 Add a test for the binary cache substituterEelco Dolstra2-1/+21
2012-07-26 Clear NIX_STORE when running the testsEelco Dolstra2-1/+2
2012-07-23 Add a test for Nix store optimisationEelco Dolstra2-1/+27
2012-07-09 Add a test for the fetchurl functionEelco Dolstra3-1/+17
2012-04-14 Urgh, modified the wrong file...Eelco Dolstra1-1/+1
2012-04-14 nix-channel improvementsEelco Dolstra1-2/+2
"nix-channel --add" now accepts a second argument: the channel name. This allows channels to have a nicer name than (say) nixpkgs_unstable. If no name is given, it defaults to the last component of the URL (with "-unstable" or "-stable" removed). Also, channels are now stored in a profile (/nix/var/nix/profiles/per-user/$USER/channels). One advantage of this is that it allows rollbacks (e.g. if "nix-channel --update" gives an undesirable update).
2012-03-19 Replace "make check" with "make installcheck"Eelco Dolstra6-46/+12
Ensuring that the tests work from the build tree requires a growing number of nasty hacks. The tests also don't verify that the installed Nix actually works. Thus, the tests now require "make install" to have been run.
2012-03-18 Drop the externals directoryEelco Dolstra2-6/+0
Nix now requires SQLite and bzip2 to be pre-installed. SQLite is detected using pkg-config. We required DBD::SQLite anyway, so depending on SQLite is not a big problem. The --with-bzip2, --with-openssl and --with-sqlite flags are gone.
2012-03-12 Fix testsEelco Dolstra2-4/+4
2012-01-26 * Add a test for importing derivations.Eelco Dolstra3-1/+37
2012-01-19 * Add a test case for comparing derivations.Eelco Dolstra2-0/+11
2012-01-11 tests: Run `download-using-manifests' via libtool so that dlopening works.Ludovic Courtès2-1/+6
2012-01-04 * Check whether the outputName attribute works.Eelco Dolstra1-2/+2
2012-01-03 * Sync with the trunk.Eelco Dolstra9-36/+52
2012-01-03 * FreeBSD tar defaults to the tape device instead of stdout.Eelco Dolstra1-1/+1
2012-01-03 * Add a test for nix-channel.Eelco Dolstra4-3/+47
* Refactor the nix-channel unpacker a bit.
2012-01-03 * Refactoring: Get rid of a few subdirectories in corepkgs/, and someEelco Dolstra5-33/+4
other simplifications. * Use <nix/...> to locate the corepkgs. This allows them to be overriden through $NIX_PATH. * Use bash's pipefail option in the NAR builder so that we don't need to create a temporary file.
2011-12-30 * Sync with the trunk.Eelco Dolstra2-2/+0