diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-12-07 17:37:08 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-12-12 17:56:58 +0100 |
commit | 828a39da68a9169ef1d9f9ff02a1c66b1bcbe884 (patch) | |
tree | 7b92b771e08dc03dc408eacbbe41de2c5df34304 /HACKING | |
parent | 5208db3a526e3fcdb8473d9bab8afe498c5f3f76 (diff) | |
download | patches-828a39da68a9169ef1d9f9ff02a1c66b1bcbe884.tar patches-828a39da68a9169ef1d9f9ff02a1c66b1bcbe884.tar.gz |
challenge: Support "--diff=diffoscope".
* guix/scripts/challenge.scm (call-with-nar): New procedure.
(narinfo-contents): Express in terms of 'call-with-nar'.
(call-with-mismatches, report-differing-files/external): New
procedures.
(%diffoscope-command): New variable.
(%options): Support "diffoscope" and a string starting with "/".
* tests/challenge.scm (call-mismatch-test): New procedure.
("differing-files"): Rewrite in terms of 'call-mismatch-test'.
("call-with-mismatches"): New test.
* doc/guix.texi (Invoking guix challenge): Document it.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions