aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2011-12-14* Oops, the daemon test wasn't actually using the daemon.Eelco Dolstra
2011-12-01* Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-buildEelco Dolstra
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
2011-11-05* Fix race condition in the test.Eelco Dolstra
2011-10-11* Add a test for nix-copy-closure.Eelco Dolstra
2011-10-11* Move the remote building test from the NixOS tree to the Nix tree.Eelco Dolstra
2011-10-11* Work around a race condition starting the Nix daemon.Eelco Dolstra
2011-10-10* Refactoring: remove unnecessary variables from the tests.Eelco Dolstra
2011-10-10* Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm underEelco Dolstra
the Nix:: namespace.
2011-08-08* On FreeBSD, ‘touch’ is not in the test $PATH, so don't use it.Eelco Dolstra
2011-08-06* Add the Nix corepkgs to the end of the search path. This makes itEelco Dolstra
possible for other Nix expressions to use corepkgs (mostly useful for the buildenv function).
2011-08-06* Allow redirections in search path entries. E.g. if you have aEelco Dolstra
directory /home/eelco/src/stdenv-updates that you want to use as the directory for import such as with (import <nixpkgs> { }); then you can say $ nix-build -I nixpkgs=/home/eelco/src/stdenv-updates
2011-08-06* Add lang/dir* to the distribution.Eelco Dolstra
2011-08-06* Add a Nix expression search path feature. Paths between angleEelco Dolstra
brackets, e.g. import <nixpkgs/pkgs/lib> are resolved by looking them up relative to the elements listed in the search path. This allows us to get rid of hacks like import "${builtins.getEnv "NIXPKGS_ALL"}/pkgs/lib" The search path can be specified through the ‘-I’ command-line flag and through the colon-separated ‘NIX_PATH’ environment variable, e.g., $ nix-build -I /etc/nixos ... If a file is not found in the search path, an error message is lazily thrown.
2011-07-20* Added a test that make sure that users cannot registerEelco Dolstra
specially-crafted derivations that produce output paths belonging to other derivations. This could be used to inject malware into the store.
2011-07-20* Refactoring.Eelco Dolstra
2011-07-13* Allow attribute names to be strings. Based on theEelco Dolstra
allow-arbitrary-strinsg-in-names patch by Marc Weber.
2011-07-13* Allow a default value in attribute selection by writingEelco Dolstra
x.y.z or default (as originally proposed in https://mail.cs.uu.nl/pipermail/nix-dev/2009-September/002989.html). For instance, an expression like stdenv.lib.attrByPath ["features" "ckSched"] false args can now be written as args.features.ckSched or false
2011-07-06* Test case.Eelco Dolstra
2011-06-30Add support for the `build-timeout' and `--timeout' options.Ludovic Courtès
2011-02-09* Urgh, FreeBSD doesn't have a "seq" command.Eelco Dolstra
2011-01-14* builtins.substring: if "start" is beyond the end of the string,Eelco Dolstra
return the empty string.
2010-12-05* Use CamelCase for the Perl modules.Eelco Dolstra
2010-12-05* Add a script `nix-generate-patches'.Eelco Dolstra
* Fix the binary patching test.
2010-11-17* Test whether sequences of patches work.Eelco Dolstra
2010-11-17* In the download size indication, take binary patches into account.Eelco Dolstra
Hopefully this doesn't slow things down too much.
2010-11-17(no commit message)Eelco Dolstra
2010-11-17* Finally, a test for the binary patch functionality.Eelco Dolstra
2010-11-17* Test that download sizes are shown correctly.Eelco Dolstra
2010-11-17* Fix the test.Eelco Dolstra
2010-11-16* Sync with the trunk.Eelco Dolstra
2010-10-24* Keep attribute sets in sorted order to speed up attribute lookups.Eelco Dolstra
* Simplify the representation of attributes in the AST. * Change the behaviour of listToAttrs() in case of duplicate names.
2010-10-23* Regression test for listToAttr's behaviour if an attribute nameEelco Dolstra
occurs multiple times.
2010-10-22* Regression test for __overrides.Eelco Dolstra
2010-10-04* In the referrers test, lower the nesting depth from 2500 to 1000 toEelco Dolstra
prevent hitting a stack overflow bug in the garbage collector.
2010-08-25* Made the build hook mechanism more efficient. Rather than startingEelco Dolstra
the hook every time we want to ask whether we can run a remote build (which can be very often), we now reuse a hook process for answering those queries until it accepts a build. So if there are N derivations to be built, at most N hooks will be started.
2010-08-04* Sync with the trunk.Eelco Dolstra
2010-06-25tests/build-hook.hook.sh: prefer more portable `...` syntax over $(...) for ↵Peter Simons
running sub-shells The /bin/sh interpreter on Solaris doesn't understand $(...) syntax for running sub-shells. Consequently, this test fails on Solaris. To remedy the situation, the script either needs to be run by /bin/bash -- which is non-standard --, or it needs to use the ancient but portable `...` syntax.
2010-05-12* Sync with the trunk.Eelco Dolstra
2010-05-12* Print attributes in sorted order.Eelco Dolstra
2010-05-12* Implemented tryEval, the last missing primop in the fast-evalEelco Dolstra
branch. Also added a test for tryEval.
2010-05-07* Sync with the trunk.Eelco Dolstra
2010-04-22* Check for duplicate attribute names / function arguments. `makeEelco Dolstra
check' now succeeds :-) * An attribute set such as `{ foo = { enable = true; }; foo.port = 23; }' now parses. It was previously rejected, but I'm too lazy to implement the check. (The only reason to reject it is that the reverse, `{ foo.port = 23; foo = { enable = true; }; }', is rejected, which is kind of ugly.)
2010-04-21* Update the expected test output (no longer an ATerm).Eelco Dolstra
2010-04-21* Because --parse-only no longer produces an ATerm, don't check theEelco Dolstra
output. Whether it parses at all should be enough.
2010-04-20* Sync with the trunk.Eelco Dolstra
2010-04-19* Drop the dependency on the ATerm library.Eelco Dolstra
2010-04-01* Removed the `~' operator.Eelco Dolstra
2010-03-31(no commit message)Eelco Dolstra
2010-03-31* Fix the broken test for listToAttrs.Eelco Dolstra