guix/tests
Ludovic Courtès 4d8e95097e
challenge: Return comparison reports instead of just discrepancies.
This makes it easier to distinguish between matches, mismatches, and the
various cases of inconclusive reports.

* guix/scripts/challenge.scm (<discrepancy>): Rename to...
(<comparison-report>): ... this.  Add 'result' field.
(comparison-report): New macro.
(comparison-report-predicate, comparison-report-mismatch?)
(comparison-report-match?)
(comparison-report-inconclusive?): New procedures.
(discrepancies): Rename to...
(compare-contents): ... this.  Change to return a list of
<comparison-report>.  Remove calls to 'warning'.
(summarize-discrepancy): Rename to...
(summarize-report): ... this.  Adjust to <comparison-report>.
(guix-challenge): Likewise.
* tests/challenge.scm ("no discrepancies")
("one discrepancy"): Adjust to new API.
("inconclusive: no substitutes")
("inconclusive: no local build"): New tests.
2017-01-14 00:57:51 +01:00
..
base32.scm
base64.scm
bournish.scm
build-utils.scm utils: 'wrap-program' produces only one wrapper file. 2016-09-07 23:59:02 +02:00
builders.scm
challenge.scm challenge: Return comparison reports instead of just discrepancies. 2017-01-14 00:57:51 +01:00
combinators.scm
containers.scm tests: Don't check file-systems in container tests. 2016-11-13 13:04:00 +01:00
cpan.scm tests: Mock up http-fetch. 2016-12-18 13:39:21 +01:00
cpio.scm
cran.scm tests: Adjust 'url-fetch' mocks to TLS changes. 2016-11-10 11:58:43 +01:00
crate.scm build-system: cargo: Handle Cargo.lock file not present. 2017-01-01 18:20:52 +01:00
cve-sample.xml
cve.scm
derivations.scm daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
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: Support 'ungexp' forms in improper lists. 2017-01-01 23:30:30 +01:00
gnu-maintenance.scm
grafts.scm grafts: Apply the right grafts in the presence of multiple outputs. 2016-10-17 23:59:03 +02:00
graph.scm graph: Add '%reverse-package-node-type'. 2017-01-04 16:18:53 +01:00
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh tests: Adjust 'guix build -S' test for source-less packages. 2016-10-03 15:24:21 +02:00
guix-daemon.sh
guix-download.sh guix download: Add '-o' option. 2016-11-16 18:00:41 +01:00
guix-environment-container.sh
guix-environment.sh environment: Add '--root' option. 2016-12-20 19:14:41 +01:00
guix-gc.sh
guix-graph.sh
guix-hash.sh guix hash: Interpret '-' as standard input. 2016-10-28 22:30:17 +02:00
guix-lint.sh
guix-package-net.sh
guix-package.sh guix package: Fix version and output for 'guix package -i /gnu/store/…'. 2017-01-11 11:58:21 +01:00
guix-register.sh
guix-system.sh
hackage.scm tests: hackage: Fix mock urls. 2016-09-01 13:40:49 +03:00
hash.scm
import-utils.scm import: utils: Refactor license->symbol. 2016-09-28 13:17:15 +02:00
lint.scm Merge branch 'master' into python-build-system 2016-11-25 11:20:21 -05:00
modules.scm Add (guix modules). 2016-09-05 00:06:47 +02:00
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 guix build: '--with-source' overrides the 'replacement' of a package. 2016-12-21 23:48:14 +01:00
scripts.scm
services.scm services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'. 2016-08-31 15:44:20 +02:00
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
store.scm store: 'open-connection' no longer raises '&nar-error' for protocol errors. 2016-12-08 23:12:11 +01:00
substitute.scm
syscalls.scm syscalls: Add 'add-network-route/gateway' and 'delete-network-route'. 2016-11-21 00:34:48 +01:00
system.scm services: shepherd: Add 'shepherd-service-upgrade', from 'guix system'. 2016-08-31 15:44:20 +02:00
test.drv
ui.scm
union.scm
upstream.scm
utils.scm utils: Support defaults in substitute-keyword-arguments. 2016-10-07 07:42:05 -05:00
zlib.scm