guix-devel/tests
Ludovic Courtès 667b250846 gexp: Add 'ungexp-native' and 'ungexp-native-splicing'.
* guix/gexp.scm (<gexp>)[natives]: New field.
  (write-gexp): Use both 'gexp-references' and
  'gexp-native-references'.
  (gexp->derivation): Use both 'gexp-inputs' and 'gexp-native-inputs',
  and append them.
  (gexp-inputs): Add 'references' parameter and honor it.
  (gexp-native-inputs): New procedure.
  (gexp->sexp)[reference->sexp]: Add 'native?' parameter and honor it.
  Use it, and use 'gexp-native-references'.
  (gexp)[collect-native-escapes]: New procedure.
  [escape->ref]: Handle 'ungexp-native' and 'ungexp-native-splicing'.
  [substitute-ungexp, substitute-ungexp-splicing]: New procedures.
  [substitute-references]: Use them, and handle 'ungexp-native' and
  'ungexp-native-splicing'.
  Adjust generated 'make-gexp' call to provide both normal references
  and native references.
  [read-ungexp]: Support 'ungexp-native' and
  'ungexp-native-splicing'.
  Add reader extension for #+.
* tests/gexp.scm (gexp-native-inputs): New procedure.
  (gexp->sexp*): Add 'target' parameter.
  ("ungexp + ungexp-native",
  "input list + ungexp-native",
  "input list splicing + ungexp-native-splicing",
  "gexp->derivation, ungexp-native",
  "gexp->derivation, ungexp + ungexp-native"): New tests.
  ("sugar"): Add tests for #+ and #+@.
* doc/guix.texi (G-Expressions): Document 'ungexp-native' et al.
2014-08-18 15:01:58 +02:00
..
base32.scm Move `sha256' to (guix hash). 2013-07-01 23:28:21 +02:00
base64.scm substitute-binary: Support the Signature field of a narinfo file. 2014-03-30 12:02:10 +02:00
build-utils.scm Augment `.dir-locals.el'. 2013-02-01 13:16:45 +01:00
builders.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
derivations.scm derivations: Add #:allowed-references 'derivation' parameter. 2014-06-01 23:32:26 +02:00
gexp.scm gexp: Add 'ungexp-native' and 'ungexp-native-splicing'. 2014-08-18 15:01:58 +02:00
guix-archive.sh tests: Make sure 'guix archive --import' succeeds. 2014-03-29 22:59:46 +01:00
guix-authenticate.sh authenticate: Allow signatures with binary data to be written to stdout. 2014-04-22 11:30:58 +02:00
guix-build.sh guix build: Allow gexps to be passed to '-e'. 2014-06-14 22:55:59 +02:00
guix-daemon.sh daemon: Add tests for substitutes and --no-substitutes. 2014-03-27 23:56:47 +01:00
guix-download.sh Replace individual scripts with master 'guix' script. 2013-02-16 22:17:37 -05:00
guix-gc.sh guix gc: Add `--references' and `--referrers'. 2013-02-27 23:16:00 +01:00
guix-hash.sh guix hash: Add '--recursive'. 2014-02-21 23:49:52 +01:00
guix-package.sh tests: Make sure --search="" works. 2014-07-25 17:56:14 +02:00
guix-register.sh build: Fix typo that would lead to hitting the socket name length limit. 2014-07-20 22:39:02 +02:00
guix-system.sh guix {system,offload}: Improve reporting of syntax errors. 2014-06-27 00:12:40 +02:00
hash.scm hash: Add 'open-sha256-input-port', for Guile > 2.0.9. 2014-01-24 00:01:49 +01:00
monads.scm monads: 'package-file' uses '%current-system' at '>>=' time. 2014-08-17 21:08:06 +02:00
nar.scm nar: Produce archives with files sorted in C collation order. 2014-02-21 23:49:53 +01:00
packages.scm build: Skip one 'package-source-derivation' test when networking is missing. 2013-12-11 13:55:49 +01:00
pk-crypto.scm authenticate: Allow signatures with binary data to be written to stdout. 2014-04-22 11:30:58 +02:00
pki.scm pki: Add 'signature-case' macro. 2014-03-31 23:34:20 +02:00
profiles.scm profiles: Add 'manifest-add'. 2014-08-12 16:03:33 +02:00
records.scm records: Report unknown field names in inheriting forms. 2014-07-17 16:45:45 +02:00
signing-key.pub daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
signing-key.sec daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
snix.scm Augment `.dir-locals.el'. 2013-02-01 13:16:45 +01:00
store.scm store: (direct-store-path? (%store-prefix)) returns #f. 2014-04-28 23:24:18 +02:00
substitute-binary.scm Use 'signature-case' in (guix nar) and 'substitute-binary'. 2014-03-31 23:47:02 +02:00
syscalls.scm syscalls: Be more permissive in 'umount' test. 2014-05-27 22:36:54 +02:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
ui.scm ui: Fix handling of periods by fill-paragraph. 2014-08-11 18:27:03 +02:00
union.scm tests: Add 'union-build' test for <http://bugs.gnu.org/17083>. 2014-04-02 23:08:44 +02:00
utils.scm guix: utils: Add fold-tree and fold-tree-leaves. 2014-07-20 11:36:09 -05:00