guix/tests
Ludovic Courtès 5b14a7902c
gexp: Native inputs of nested gexps are properly accounted for.
Previously, 'gexp-native-inputs' would not return the native inputs of
nested gexps.  For example, this:

  (gexp-native-inputs #~(foo #$#~(bar #+coreutils)))

would return '().

* guix/gexp.scm (gexp-inputs)[add-reference-inputs]: In the
non-recursive cases, check whether N? and NATIVE? are the same, and act
accordingly.
[native-input?]: Remove.
Fold over all of (gexp-references exp).
* tests/gexp.scm ("ungexp + ungexp-native, nested, special mixture"):
New test.
* tests/gexp.scm ("input list splicing + ungexp-native-splicing"): Pass
 #:native? #t to 'gexp-input'.
2016-12-19 17:51:00 +01:00
..
base32.scm
base64.scm
bournish.scm
build-utils.scm
builders.scm
challenge.scm
combinators.scm
containers.scm
cpan.scm tests: Mock up http-fetch. 2016-12-18 13:39:21 +01:00
cpio.scm
cran.scm
crate.scm
cve-sample.xml
cve.scm
derivations.scm
elpa.scm
file-systems.scm
gem.scm tests: Mock up http-fetch in import tests. 2016-12-18 09:55:17 +01:00
gexp.scm gexp: Native inputs of nested gexps are properly accounted for. 2016-12-19 17:51:00 +01:00
gnu-maintenance.scm
grafts.scm
graph.scm graph: Backend must have name and description. 2016-12-14 21:43:06 +01:00
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh
guix-daemon.sh
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-package-net.sh
guix-package.sh
guix-register.sh
guix-system.sh
hackage.scm
hash.scm
import-utils.scm
lint.scm
modules.scm
monads.scm
nar.scm
packages.scm profiles: Remove dependency on 'glibc-utf8-locales' for tests. 2016-12-17 14:46:42 +01:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Remove dependency on 'glibc-utf8-locales' for tests. 2016-12-17 14:46:42 +01:00
publish.scm
pypi.scm tests: Mock up http-fetch in import test. 2016-12-18 10:54:11 +01:00
records.scm
scripts-build.scm
scripts.scm
services.scm
sets.scm
signing-key.pub daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
signing-key.sec
size.scm
snix.scm
store.scm
substitute.scm
syscalls.scm
system.scm
test.drv
ui.scm
union.scm
upstream.scm
utils.scm
zlib.scm