tvl-depot/tests
Ludovic Courtès 09381cccff Make source location info in the XML output optional.
* 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.
2010-03-31 12:38:31 +00:00
..
lang Make source location info in the XML output optional. 2010-03-31 12:38:31 +00:00
add.sh * Unify the treatment of sources copied to the store, and recursive 2008-12-03 15:06:30 +00:00
build-hook.hook.sh * Simplify communication with the hook a bit (don't use file 2009-03-28 19:29:55 +00:00
build-hook.nix * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
build-hook.sh * Clean up some tests (use nix-build where appropriate). 2009-03-18 13:15:55 +00:00
check-refs.nix * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
check-refs.sh * Checks for allowedReferences and some other features. 2006-10-19 17:44:51 +00:00
common.sh.in * Use bash in the tests. 2009-03-25 16:11:04 +00:00
config.nix.in * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
dependencies.builder0.sh * Regression test for the `exportReferencesGraph' 2009-03-17 16:33:48 +00:00
dependencies.builder1.sh * Purify `make check'. 2006-07-21 13:21:43 +00:00
dependencies.builder2.sh * Purify `make check'. 2006-07-21 13:21:43 +00:00
dependencies.nix * Regression test for the `exportReferencesGraph' 2009-03-17 16:33:48 +00:00
dependencies.sh * Acquire the locks on the output paths before trying to run the build 2009-03-18 14:48:42 +00:00
export-graph.nix * Unify exportReferencesGraph and exportBuildReferencesGraph, and make 2009-03-18 17:36:42 +00:00
export-graph.sh * Improve the test. 2009-03-18 16:36:13 +00:00
export.sh * Clean up some tests (use nix-build where appropriate). 2009-03-18 13:15:55 +00:00
fallback.sh * Fix the tests. 2007-08-13 13:15:02 +00:00
filter-source.nix * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
filter-source.sh New primitives: 2007-01-29 14:23:09 +00:00
fixed.builder1.sh * Test the impureEnvVars feature. 2007-09-11 13:32:04 +00:00
fixed.builder2.sh * Test case to show that parallel builds of different fixed-output 2007-08-28 09:21:47 +00:00
fixed.nix * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
fixed.sh * Clean up some tests (use nix-build where appropriate). 2009-03-18 13:15:55 +00:00
gc-concurrent.builder.sh * Increase the sleep periods a bit to make the test less likely to 2008-08-14 09:26:30 +00:00
gc-concurrent.nix * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
gc-concurrent.sh * Argh, stupid timing sensitive tests... 2009-03-27 22:40:22 +00:00
gc-concurrent2.builder.sh * Increase the sleep periods a bit to make the test less likely to 2008-08-14 09:26:30 +00:00
gc-runtime.nix * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
gc-runtime.sh * Fix race condition in the test. 2006-09-01 12:02:39 +00:00
gc.sh * TDD! Woohoo! 2006-03-01 14:26:03 +00:00
hash-check.nix * Purify `make check'. 2006-07-21 13:21:43 +00:00
hash.sh * Mac OS X 10.5 compatibility: echo -n foo' suddenly prints -n foo' 2007-12-14 14:08:09 +00:00
init.sh * In nix-pull/nix-channel, create the manifests directory if it 2009-11-13 10:08:31 +00:00
install-package.sh * `nix-install-package --url': install from a URL (NIX-12). 2006-09-21 18:54:08 +00:00
lang.sh Make source location info in the XML output optional. 2010-03-31 12:38:31 +00:00
logging.sh * Clean up some tests (use nix-build where appropriate). 2009-03-18 13:15:55 +00:00
Makefile.am * Negative caching, i.e. caching of build failures. Disabled by 2009-03-25 21:05:42 +00:00
misc.sh * Simplification. 2006-03-01 12:51:18 +00:00
negative-caching.nix * Negative caching, i.e. caching of build failures. Disabled by 2009-03-25 21:05:42 +00:00
negative-caching.sh * Negative caching, i.e. caching of build failures. Disabled by 2009-03-25 21:05:42 +00:00
nix-build.sh * Clean up some tests (use nix-build where appropriate). 2009-03-18 13:15:55 +00:00
nix-pull.sh * nix-push / generate-patches: bzip the manifest. 2007-09-04 15:38:09 +00:00
nix-push.sh * nix-push / generate-patches: bzip the manifest. 2007-09-04 15:38:09 +00:00
parallel.builder.sh * Make this test a bit more robust. It's still timing dependent 2009-03-23 15:16:36 +00:00
parallel.nix * Make this test a bit more robust. It's still timing dependent 2009-03-23 15:16:36 +00:00
parallel.sh * Grmbl. Timing-sensitive tests are evil. 2010-02-04 14:43:43 +00:00
referrers.sh * Fixed compatibility with old versions of "wc" that print whitespace 2008-06-10 10:08:15 +00:00
remote-store.sh * Be sure to clean up the daemon if the test fails. 2008-12-04 16:55:22 +00:00
simple.builder.sh * Fix the tests. 2007-08-13 13:15:02 +00:00
simple.nix * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
simple.sh 2008-12-03 16:15:38 +00:00
substituter.sh * Fix the tests. 2008-08-04 16:16:49 +00:00
substituter2.sh * Fix the tests. 2008-08-04 16:16:49 +00:00
substitutes.sh * Fix the tests. 2007-08-13 13:15:02 +00:00
substitutes2.sh * Do a substitution even if --max-jobs == 0. 2009-03-31 21:14:07 +00:00
user-envs.builder.sh * Purify `make check'. 2006-07-21 13:21:43 +00:00
user-envs.nix * Refactoring: renamed *.nix.in to *.nix. 2009-03-17 17:11:55 +00:00
user-envs.sh * Test instrumentation. 2008-06-15 15:10:03 +00:00
verify.sh * Simplification. 2006-03-01 12:51:18 +00:00