guix-devel/tests
Ludovic Courtès 6892f0a247
store-copy: 'read-reference-graph' returns a list of records.
The previous implementation of 'read-reference-graph' was good enough
for many use cases, but it discarded the graph structure, which is
useful information in some cases.

* guix/build/store-copy.scm (<store-info>): New record type.
(read-reference-graph): Rewrite to return a list of <store-info>.
(closure-size, populate-store): Adjust accordingly.
* gnu/services/base.scm (references-file): Adjust accordingly.
* gnu/system/vm.scm (system-docker-image): Likewise.
* guix/scripts/pack.scm (squashfs-image, docker-image): Likewise.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Likewise.
2018-06-14 11:16:58 +02:00
..
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
base64.scm substitute-binary: Support the Signature field of a narinfo file. 2014-03-30 12:02:10 +02:00
bournish.scm bournish: Extend 'rm' command. 2017-01-26 13:49:56 +01:00
build-utils.scm utils: 'wrap-program' produces only one wrapper file. 2016-09-07 23:59:02 +02:00
builders.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cache.scm cache: Work around 'time-monotonic' bug in Guile 2.2.2. 2017-04-22 14:42:15 +02:00
challenge.scm challenge: Return comparison reports instead of just discrepancies. 2017-01-14 00:57:51 +01:00
combinators.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
containers.scm tests: Fix race condition in 'container-excursion*' test. 2017-05-31 17:08:45 +02:00
cpan.scm Revert "import: cpan: Use HTTPS for home pages." 2017-10-30 17:20:42 +01:00
cpio.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cran.scm import: cran: Robustify cran-package?. 2017-05-13 12:40:20 +02:00
crate.scm tests: Adjust for 'http-fetch' change in (guix import json). 2017-02-13 16:04:09 +01:00
cve-sample.xml Add (guix cve). 2015-11-26 22:35:01 +01:00
cve.scm cve: Use a more compact format for the list of package/versions. 2016-05-28 01:07:12 +02:00
derivations.scm derivations: Adjust tests for Stow environments. 2018-01-30 22:24:06 +01:00
discovery.scm discovery: Recurse into directories pointed to by a symlink. 2017-07-03 23:51:23 +02:00
elpa.scm tests: elpa: Don't actually download files. 2018-03-18 22:33:41 +01:00
file-systems.scm uuid: Move tests to 'tests/uuid.scm'. 2017-09-14 00:10:13 +02:00
gem.scm tests: Adjust for 'http-fetch' change in (guix import json). 2017-02-13 16:04:09 +01:00
gexp.scm store-copy: 'read-reference-graph' returns a list of records. 2018-06-14 11:16:58 +02:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
grafts.scm graft: Correctly replace references near the end of the scan buffer. 2017-08-24 23:55:51 +02:00
graph.scm tests: Adjust graph test. 2018-06-06 14:37:35 +02:00
gremlin.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
guix-archive.sh guix archive: Add '--extract'. 2015-10-19 10:10:47 +02: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: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
guix-daemon.sh guix-daemon: Disable garbage collection for remote connections. 2018-04-19 19:06:26 +02:00
guix-download.sh guix download: Support retrieving local file without the URI scheme. 2017-08-20 20:55:45 +08:00
guix-environment-container.sh environment: Add --user. 2018-03-02 11:55:43 +01:00
guix-environment.sh environment: Add --manifest option. 2018-02-21 22:16:38 -05:00
guix-gc.sh guix gc: Add '--derivers'. 2018-03-27 14:51:44 +02:00
guix-graph.sh graph: Allow store file names for 'derivation' and 'references' graphs. 2016-05-21 01:35:14 +02:00
guix-hash.sh guix hash: Interpret '-' as standard input. 2016-10-28 22:30:17 +02:00
guix-lint.sh tests: Do not run 'cve' checker in 'tests/guix-lint.sh'. 2016-05-24 14:45:18 +02:00
guix-pack.sh tests: Skip 'tests/guix-pack.sh' when networking is missing. 2018-05-19 00:14:51 +02:00
guix-package-net.sh tests: Remove 't-profile-alt-*-link' files. 2017-06-02 18:47:06 +02:00
guix-package.sh tests: Adjust 'guix package' test to "python2" name. 2018-06-06 14:37:35 +02:00
guix-register.sh tests: Improve synchronization in 'tests/guix-register.sh'. 2016-07-29 11:39:30 +02:00
guix-system.sh system: Remove uses of the 'title' field of <file-system>. 2018-05-28 13:24:19 +02:00
hackage.scm tests: hackage: Fix mock urls. 2016-09-01 13:40:49 +03:00
hash.scm hash: Add 'sha1'. 2018-03-08 11:56:20 +01:00
import-utils.scm import: utils: 'alist->package' allows false license. 2018-02-16 11:10:12 +01:00
lint.scm lint: 'check-vulnerabilities' also checks package properties. 2017-12-10 21:59:07 +02:00
modules.scm modules: Raise an error when a dependency could not be found. 2017-05-25 14:25:17 +02:00
monads.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
nar.scm build: Require Guile >= 2.0.9. 2017-03-18 00:39:49 +01:00
pack.scm pack: Adjust test to expect relative symlinks. 2018-06-01 15:17:41 +02:00
packages.scm packages: Add 'package-patched-vulnerabilities'. 2018-06-09 12:02:28 +02:00
pk-crypto.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
pki.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
print.scm import: Add package->code. 2017-09-28 13:10:10 +02:00
profiles.scm Merge branch 'master' into core-updates 2018-05-17 01:00:50 -04:00
publish.scm publish: Always build a new derivation for the "/log/NAME" test. 2018-03-22 12:54:31 +01:00
pypi.scm import: pypi: Adjust URIs in tests. 2017-06-18 00:14:07 +02:00
records.scm records: Insert record type ABI checks in constructors. 2018-05-23 10:21:02 +02:00
scripts-build.scm guix build: Support '--with-source=PACKAGE@VERSION=URI'. 2017-12-23 00:05:05 +01:00
scripts.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
search-paths.scm tests: Adjust search-paths test following the introduction of aarch64. 2017-04-04 00:10:00 +02:00
services.scm services: Missing services are automatically instantiated. 2018-01-21 00:24:03 +01:00
sets.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +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
size.scm size: Add test to multiple 'store-profile' arguments. 2017-04-07 00:17:16 +02:00
snix.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
store-database.scm database: Fail registration when encountering unregistered references. 2018-06-14 11:16:58 +02:00
store-deduplication.scm Add (guix store deduplication). 2018-06-01 15:35:54 +02:00
store.scm tests: Disable test for freed disk space that fails on Btrfs. 2017-11-21 22:46:55 +01:00
substitute.scm substitute: Download from unauthorized sources that provide the right content. 2017-09-11 11:10:21 +02:00
syscalls.scm tests: Skip 'pivot-root' test on Ubuntu's 4.4 kernels. 2018-04-08 17:41:08 +02:00
system.scm system: Remove uses of the 'title' field of <file-system>. 2018-05-28 13:24:19 +02:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
texlive.scm guix: Add texlive importer. 2017-06-15 17:03:19 +02:00
ui.scm ui: 'string->duration' correctly handles hours. 2017-05-10 22:05:21 +02:00
union.scm union: Add 'relative-file-name'. 2018-05-10 14:53:56 +02:00
upstream.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
utils.scm utils: Add 'version-prefix?'. 2018-05-13 13:29:27 +02:00
uuid.scm uuid: 'uuid' returns #f when 'string->uuid' returns #f. 2018-05-19 00:14:52 +02:00
workers.scm workers: Add test with exceptions. 2017-11-17 10:47:49 +01:00
zlib.scm zlib: Fix memory leak due to revealed ports not being GC'd. 2017-10-11 15:20:50 +02:00