me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/tests
Ludovic Courtès 47212fc763
records: Improve reporting of "invalid field specifier" errors.
Previously users would just see:

  error: invalid field specifier

without source location or hints.

* guix/records.scm (expand): Add optional 'parent-form' parameter and
pass it to 'syntax-violation' when it is true.
(make-syntactic-constructor): Pass S as a third argument to
'report-invalid-field-specifier'.
* guix/ui.scm (report-load-error): For 'syntax-error', show SUBFORM or
FORM in the message.
* tests/records.scm ("define-record-type* & wrong field specifier"): Add
a 'subform' parameter and adjust test accordingly.
("define-record-type* & wrong field specifier, identifier"): New test.
* tests/guix-system.sh: Add test.
2020-01-16 18:30:57 +01:00
..
accounts.scm accounts: Delete duplicate entries. 2019-08-28 00:27:14 +02:00
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
base64.scm
bournish.scm bournish: Extend 'rm' command. 2017-01-26 13:49:56 +01:00
build-utils.scm tests: Avoid unnecessary use of 'mock'. 2019-11-26 00:16:35 +01:00
builders.scm tests: Remove expensive and pointless test. 2019-06-14 21:57:18 +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: Support "--diff=diffoscope". 2019-12-12 17:56:58 +01:00
channels.scm channels: Allow news entries to refer to a tag. 2019-09-23 10:38:44 +02:00
combinators.scm
containers.scm tests: Skip container test when lacking kernel support. 2019-10-15 10:21:41 +02:00
cpan.scm import: cpan: Rewrite tests to use an HTTP server instead of mocking. 2020-01-15 18:40:43 +01:00
cpio.scm
cran.scm import: cran: Robustify cran-package?. 2017-05-13 12:40:20 +02:00
crate.scm import: crate: Better handle license expressions. 2019-12-11 12:13:03 +01:00
cve-sample.json cve: Rewrite to read the JSON feed instead of the XML feed. 2019-10-23 16:40:17 +02:00
cve.scm cve: Rewrite to read the JSON feed instead of the XML feed. 2019-10-23 16:40:17 +02:00
debug-link.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
derivations.scm derivations: Add 'derivation-input-fold'. 2019-12-07 00:29:41 +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 import: utils: 'recursive-import' returns a list rather than a stream. 2019-12-11 12:13:03 +01:00
gexp.scm gexp: Add 'raw-derivation-file'. 2020-01-04 23:44:26 +01:00
git.scm git: 'commit-difference' takes a list of excluded commits. 2019-12-27 13:52:49 +01:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm
grafts.scm Merge branch 'master' into core-updates 2019-06-27 23:33:48 +02:00
graph.scm Merge branch 'staging' into core-updates 2019-03-23 23:16:55 +01:00
gremlin.scm gremlin: Adjust tests for foreign distros. 2019-05-18 12:10:15 +02:00
guix-archive.sh guix archive: Add '--list'. 2019-12-12 17:56:58 +01:00
guix-authenticate.sh
guix-build-branch.sh tests: Adjust '--with-commit' test. 2019-09-04 13:02:27 +02:00
guix-build.sh guix build: Handle "guix build /….drv" correctly for non-existent derivations. 2019-11-17 23:14:54 +01:00
guix-daemon.sh daemon: Make 'profiles/per-user' non-world-writable. 2019-10-16 22:53:40 +02:00
guix-describe.sh Add 'guix describe'. 2018-09-07 11:40:22 +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: '--container' honors '--preserve'. 2019-10-03 23:48:59 +02:00
guix-environment.sh environment: Document that '--manifest' can be repeated. 2019-11-22 15:07:58 +01:00
guix-gc.sh guix gc: Add '--list-roots'. 2019-04-10 17:09:47 +02:00
guix-graph.sh graph: Add '--load-path' option. 2020-01-16 15:27:20 +01:00
guix-hash.sh
guix-lint.sh lint: Add '--load-path' option. 2019-12-08 23:14:03 +01:00
guix-pack-localstatedir.sh pack: '--localstatedir' and '-R' tests gracefully handle missing /gnu/store. 2019-05-18 12:23:31 +02:00
guix-pack-relocatable.sh pack: '-R' honors the requested output. 2019-08-23 18:41:49 +02:00
guix-pack.sh pack: Allow multiple '--manifest' options. 2019-11-22 15:07:59 +01:00
guix-package-aliases.sh guix package: '--show' ignores deprecated packages. 2019-09-21 16:48:36 +02:00
guix-package-net.sh tests: Make builds less expensive. 2019-06-14 21:57:39 +02:00
guix-package.sh tests: Fix race condition in profile locking test. 2019-11-29 15:54:20 +01:00
guix-system.sh records: Improve reporting of "invalid field specifier" errors. 2020-01-16 18:30:57 +01:00
hackage.scm import: hackage: Add two expected failing test cases. 2019-06-20 14:07:01 +02:00
import-utils.scm import: utils: 'recursive-import' returns a list rather than a stream. 2019-12-11 12:13:03 +01:00
inferior.scm inferior: Propagate '&store-protocol-error' error conditions. 2019-09-21 16:48:36 +02:00
lint.scm tests: Avoid now-deprecated 'make-struct'. 2019-10-20 23:26:50 +02:00
lzlib.scm tests: lzlib: Do not fail if lzlib in not available. 2019-12-01 16:51:40 +01:00
modules.scm modules: Raise an error when a dependency could not be found. 2017-05-25 14:25:17 +02:00
monads.scm
nar.scm serialization: Add 'fold-archive'. 2019-12-12 17:56:57 +01:00
networking.scm services: ntp: Ensure no double quotes are output to config file. 2019-10-30 18:15:54 -04:00
opam.scm tests: opam: Fix input type in import test. 2019-09-07 22:25:14 +02:00
pack.scm gnu: Remove squashfs-tools-next. 2019-12-26 12:29:44 +01:00
packages.scm guix package: Export 'transaction-upgrade-entry'. 2020-01-16 18:30:57 +01:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
print.scm import: print: Honor the outputs of inputs (!). 2019-06-07 22:49:47 +02:00
processes.scm tests: processes: Skip tests if running with binfmt. 2019-12-10 10:49:42 +01:00
profiles.scm profiles: Add 'concatenate-manifests'. 2019-11-22 15:07:58 +01:00
publish.scm publish: Export 'signed-string'. 2020-01-16 18:30:57 +01:00
pypi.scm import: pypi: Include optional test inputs as native-inputs. 2019-07-02 10:08:00 +09:00
records.scm records: Improve reporting of "invalid field specifier" errors. 2020-01-16 18:30:57 +01:00
scripts-build.scm guix build: '--with-commit' makes recursive checkouts. 2019-03-17 22:55:01 +01:00
scripts.scm tests: Add missing import. 2019-03-24 00:13:53 +01:00
search-paths.scm build: Remove 'gnu/packages/bootstrap' and its binaries. 2019-06-14 22:09:38 +02:00
services.scm guix system: Add 'reconfigure' module. 2019-07-26 19:19:49 +02:00
sets.scm
signing-key.pub
signing-key.sec
size.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
snix.scm
status.scm status: Keep track of the current build phase. 2019-02-05 12:03:25 +01:00
store-database.scm database: Reset timestamps to one second after the Epoch. 2018-07-20 15:01:33 +02:00
store-deduplication.scm deduplication: Gracefully handle ENOSPC raised by 'link' calls. 2018-12-14 12:07:24 +01:00
store-roots.scm Add (guix store roots). 2019-04-10 17:09:47 +02:00
store.scm daemon: Make 'profiles/per-user' non-world-writable. 2019-10-16 22:53:40 +02:00
substitute.scm substitute: Make '%allow-unauthenticated-substitutes?' public. 2019-11-27 00:03:03 +01:00
swh.scm swh: Add hooks for rate limiting handling. 2019-09-02 15:25:01 +02:00
syscalls.scm syscalls: Add 'add-to-entropy-count'. 2019-10-05 22:05:02 +02:00
system.scm system: Mapped devices needed for boot do not yield Shepherd services. 2018-06-21 23:54:15 +02:00
test.drv
texlive.scm guix: Add texlive importer. 2017-06-15 17:03:19 +02:00
ui.scm ui: 'relevance' connects regexps with a logical and. 2019-09-19 23:24:04 +02:00
union.scm tests: Make builds less expensive. 2019-06-14 21:57:39 +02:00
upstream.scm upstream: Temporarily skip failing test. 2019-01-28 23:13:40 +01:00
utils.scm utils: canonical-newline-port: Fix handling of carriage return at buffer end. 2019-06-20 14:07:01 +02:00
uuid.scm uuid: 'fat-uuid->string' preserves leading zeros. 2019-05-07 12:18:44 +02:00
workers.scm workers: Add test with exceptions. 2017-11-17 10:47:49 +01:00
zlib.scm tests: Gracefully skip zlib test when zlib is missing. 2019-04-16 17:30:22 +02:00