about summary refs log tree commit diff
path: root/tests/lang.sh
AgeCommit message (Collapse)AuthorFilesLines
2014-02-19 nix-instantiate: Rename --eval-only to --eval, --parse-only to --parseEelco Dolstra1-5/+5
2013-07-31 Test the delayed with a bit moreEelco Dolstra1-1/+1
2012-01-03 * Refactoring: Get rid of a few subdirectories in corepkgs/, and someEelco Dolstra1-1/+1
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-10-10 * Refactoring: remove unnecessary variables from the tests.Eelco Dolstra1-5/+5
2011-08-06 * Add a Nix expression search path feature. Paths between angleEelco Dolstra1-1/+1
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.
2010-05-07 * Sync with the trunk.Eelco Dolstra1-1/+2
2010-04-21 * Update the expected test output (no longer an ATerm).Eelco Dolstra1-5/+4
2010-04-21 * Because --parse-only no longer produces an ATerm, don't check theEelco Dolstra1-5/+1
output. Whether it parses at all should be enough.
2010-04-19 * Drop the dependency on the ATerm library.Eelco Dolstra1-3/+4
2010-03-31 Make source location info in the XML output optional.Ludovic Courtès1-1/+2
* src/libexpr/expr-to-xml.cc (nix::showAttrs): Add `location' parameter. Provide location XML attributes when it's true. Update callers. (nix::printTermAsXML): Likewise. * src/libexpr/expr-to-xml.hh (nix::printTermAsXML): Update prototype; have `location' default to `false'. * src/nix-instantiate/nix-instantiate.cc (printResult, processExpr): Add `location' parameter; update callers. (run): Add support for `--no-location'. * src/nix-instantiate/help.txt: Update accordingly. * tests/lang.sh: Invoke `nix-instantiate' with `--no-location' for the XML tests. * tests/lang/eval-okay-toxml.exp, tests/lang/eval-okay-to-xml.nix: New files.
2007-01-14 * Option --argstr for passing string arguments easily. (NIX-75)Eelco Dolstra1-1/+5
2006-10-17 * Fix the tests wrt the AST changes, i.e., Str(s) -> Str(s, []), andEelco Dolstra1-4/+2
the semantic changes.
2006-09-24 * Builtin function `getEnv' for getting environment variables.Eelco Dolstra1-0/+2
2006-09-22 * Builtin function `add' to add integers.Eelco Dolstra1-3/+3
* Put common test functions in tests/lang/lib.nix.
2006-08-22 * Urgh (see NIX-56).Eelco Dolstra1-7/+10
2006-08-17 * Test for `nix-instantiate --eval-only --xml'.Eelco Dolstra1-1/+12
2006-03-01 * Simplification.Eelco Dolstra1-4/+4
2006-03-01 * Make it easy to run individual tests from the command line.Eelco Dolstra1-0/+2
2004-10-27 * Use `atdiff' instead of `cmp' for checking test output.Eelco Dolstra1-2/+2
* Don't use local file names in tests since they will produce different parse trees depending on the current directory.
2004-10-27 * Remove ancient Fix tests.Eelco Dolstra1-0/+47
* Add automated Nix expression language tests.