Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-09-14 | Fix test | Eelco Dolstra | 1 | -1/+1 | |
http://hydra.nixos.org/build/3031382 | |||||
2012-09-13 | Add a test for nix-profile.sh | Eelco Dolstra | 3 | -1/+12 | |
2012-09-13 | Fix the store optimisation test | Eelco Dolstra | 1 | -2/+2 | |
http://hydra.nixos.org/build/3026118 | |||||
2012-09-12 | Handle gc-keep-outputs and gc-keep-derivations both enabled | Eelco Dolstra | 1 | -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 Darwin | Eelco Dolstra | 2 | -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 directory | Eelco Dolstra | 12 | -24/+25 | |
2012-09-11 | Test hash rewriting | Eelco Dolstra | 1 | -4/+20 | |
2012-07-30 | Fix the test | Eelco Dolstra | 1 | -4/+4 | |
2012-07-27 | Allow a binary cache to declare that it doesn't support "nix-env -qas" | Eelco Dolstra | 1 | -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 fails | Eelco Dolstra | 2 | -0/+4 | |
2012-07-27 | Test "nix-env -qas" with the binary cache substituter | Eelco Dolstra | 1 | -1/+4 | |
2012-07-27 | Let build.cc verify the expected hash of a substituter's output | Eelco Dolstra | 1 | -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 again | Eelco Dolstra | 5 | -7/+12 | |
This makes all the tests succeed. Woohoo! | |||||
2012-07-26 | Fix the substituter tests | Eelco Dolstra | 2 | -29/+34 | |
2012-07-26 | Add a test for the binary cache substituter | Eelco Dolstra | 2 | -1/+21 | |
2012-07-26 | Clear NIX_STORE when running the tests | Eelco Dolstra | 2 | -1/+2 | |
2012-07-23 | Add a test for Nix store optimisation | Eelco Dolstra | 2 | -1/+27 | |
2012-07-09 | Add a test for the fetchurl function | Eelco Dolstra | 3 | -1/+17 | |
2012-04-14 | Urgh, modified the wrong file... | Eelco Dolstra | 1 | -1/+1 | |
2012-04-14 | nix-channel improvements | Eelco Dolstra | 1 | -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 Dolstra | 6 | -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 directory | Eelco Dolstra | 2 | -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 tests | Eelco Dolstra | 2 | -4/+4 | |
2012-01-26 | * Add a test for importing derivations. | Eelco Dolstra | 3 | -1/+37 | |
2012-01-19 | * Add a test case for comparing derivations. | Eelco Dolstra | 2 | -0/+11 | |
2012-01-11 | tests: Run `download-using-manifests' via libtool so that dlopening works. | Ludovic Courtès | 2 | -1/+6 | |
2012-01-04 | * Check whether the outputName attribute works. | Eelco Dolstra | 1 | -2/+2 | |
2012-01-03 | * Sync with the trunk. | Eelco Dolstra | 9 | -36/+52 | |
2012-01-03 | * FreeBSD tar defaults to the tape device instead of stdout. | Eelco Dolstra | 1 | -1/+1 | |
2012-01-03 | * Add a test for nix-channel. | Eelco Dolstra | 4 | -3/+47 | |
* Refactor the nix-channel unpacker a bit. | |||||
2012-01-03 | * Refactoring: Get rid of a few subdirectories in corepkgs/, and some | Eelco Dolstra | 5 | -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 Dolstra | 2 | -2/+0 | |
2011-12-21 | * The ‘foo.drvPath’ feature was already broken in read-only mode. | Eelco Dolstra | 1 | -3/+3 | |
Since it's rarely used and fixing it is too much work right now, just document it. | |||||
2011-12-21 | Make the reference cycle in the cyclic outputs test indirect | Shea Levy | 1 | -3/+4 | |
2011-12-21 | * Add a test for unsafeDiscardOutputDependency. Not really related to | Eelco Dolstra | 2 | -0/+16 | |
multiple outputs, but good to have anyway. | |||||
2011-12-21 | * Add a test for referring to another derivation's ‘drvPath’. This | Eelco Dolstra | 2 | -1/+29 | |
currently fails in read-only mode. | |||||
2011-12-21 | * Add some accidentally committed files. | Eelco Dolstra | 2 | -2/+0 | |
2011-12-20 | * Doing a GC after building a derivation with cyclic outputs currently | Eelco Dolstra | 1 | -1/+1 | |
segfaults. | |||||
2011-12-20 | * Add a (currently failing) test that checks whether mutually | Eelco Dolstra | 2 | -0/+22 | |
recursive outputs are properly rejected. * Add a (also failing) test for "nix-build -A <output-name>". | |||||
2011-12-20 | * Refactor a bit so that more tests can be added. | Eelco Dolstra | 5 | -36/+26 | |
2011-12-16 | * Sync with the trunk. | Eelco Dolstra | 4 | -4/+3 | |
2011-12-14 | * Oops, the daemon test wasn't actually using the daemon. | Eelco Dolstra | 2 | -3/+1 | |
2011-12-01 | * Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-build | Eelco Dolstra | 1 | -1/+1 | |
and nix-env, e.g., $ nix-env -f '<nixpkgs>' -i patchelf or $ nix-build '<nixos/tests>' -A login.test | |||||
2011-11-25 | * Fix race. | Eelco Dolstra | 1 | -0/+1 | |
2011-11-06 | Fix stupid typo in multiple outputs test | Shea Levy | 1 | -2/+2 | |
2011-11-06 | The nixinstantiate and nixstore env vars are no longer set in common.sh | Shea Levy | 1 | -2/+2 | |
2011-11-06 | Merge from trunk | Shea Levy | 35 | -265/+396 | |
2011-11-05 | * Fix race condition in the test. | Eelco Dolstra | 1 | -0/+1 | |
2011-10-11 | * Add a test for nix-copy-closure. | Eelco Dolstra | 1 | -0/+53 | |
2011-10-11 | * Move the remote building test from the NixOS tree to the Nix tree. | Eelco Dolstra | 1 | -0/+97 | |