guix/tests
Ludovic Courtès f304c9c237 derivations: Raise an error for references to non-existent outputs.
Fixes <http://bugs.gnu.org/19630>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* guix/derivations.scm (&derivation-error,
  &derivation-missing-output-error): New error conditions.
  (derivation->output-path): Raise a '&derivation-missing-output-error'
  if OUTPUT is not an output of DRV.
* guix/ui.scm (call-with-error-handling): Add case for
  'derivation-missing-output-error?'.
  (show-what-to-build): Check whether (derivation-outputs drv) is
  empty.
* tests/packages.scm ("reference to non-existent output"): Add test.
2015-01-24 22:57:49 +01:00
..
base32.scm
base64.scm
build-utils.scm
builders.scm packages: Convert source derivations to monadic style. 2015-01-14 14:42:10 +01:00
cpan.scm import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
derivations.scm derivations: Add 'substitution-oracle' and use it. 2015-01-10 00:39:59 +01:00
gexp.scm monads: Rewrite 'text-file*' using gexps. 2015-01-12 23:33:08 +01:00
guix-archive.sh
guix-authenticate.sh
guix-build.sh guix: scripts: Add GUIX_BUILD_OPTIONS environment handling. 2014-11-30 18:54:07 +01:00
guix-daemon.sh
guix-download.sh
guix-gc.sh
guix-hash.sh
guix-lint.sh tests: Avoid Bash extension in 'tests/guix-lint.sh'. 2014-11-06 18:00:51 +01:00
guix-package.sh gnu: Search for patches under $GUIX_PACKAGE_PATH. 2015-01-03 23:49:42 +01:00
guix-register.sh
guix-system.sh
hash.scm
lint.scm tests: Properly synchronize threads in the 'home-page' lint tests. 2015-01-13 11:09:05 +01:00
monads.scm monads: Add the state monad. 2015-01-17 23:45:48 +01:00
nar.scm tests: When a store item is to be deleted, make it statistically unique. 2014-11-04 21:13:28 +01:00
packages.scm derivations: Raise an error for references to non-existent outputs. 2015-01-24 22:57:49 +01:00
pk-crypto.scm
pki.scm
profiles.scm tests: Use 'test-assertm' for profiles. 2014-12-15 23:01:56 +01:00
pypi.scm tests: import: Factorize utility function. 2015-01-09 10:38:25 -06:00
records.scm records: Add support for delayed fields. 2015-01-19 23:30:42 +01:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
signing-key.pub
signing-key.sec
snix.scm
store.scm store: Add #:recursive? parameter to 'export-paths'. 2015-01-17 15:59:00 +01:00
substitute-binary.scm
syscalls.scm tests: Adjust syscall tests for 2.6ish Linux. 2015-01-19 15:44:12 +01:00
test.drv
ui.scm
union.scm
utils.scm