guix/tests
Maxime Devos 2e5c3d91fe
gexp: Correctly handle #$output in 'gexp->approximate-sexp'.
This addresses the following backtrace from
"guix lint -c wrapper-inputs hostapd":

Backtrace:ostapd@2.10 [wrapper-inputs]...
[...]
    174:9  3 (gexp->approximate-sexp #<gexp (modify-phases %standard?>)
In srfi/srfi-1.scm:
   586:17  2 (map1 (#<gexp-output out> #<gexp-input "pkg-config":o?>))
In guix/gexp.scm:
   175:16  1 (_ _)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" #<gexp-output out>)'.

* guix/gexp.scm (gexp->approximate-sexp): Handle the case where 'reference' is
  a <gexp-output>,, by returning (*approximate*).
* tests/gexp.scm ("gexp->approximate-sexp, outputs"): Test it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-13 23:20:07 +01:00
..
keys
services
accounts.scm
base16.scm
base32.scm
base64.scm
boot-parameters.scm system: Add a version field to the <boot-parameters> record. 2022-03-01 10:30:17 -05:00
bournish.scm
build-utils.scm utils: Fix wrap-script argument handling. 2022-01-10 11:44:29 -05:00
builders.scm
cache.scm
challenge.scm
channels.scm git-authenticate: Ensure the target is a descendant of the introductory commit. 2022-02-14 11:23:08 +01:00
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm
crate.scm
cve-sample.json
cve.scm
debug-link.scm
derivations.scm derivations: Coalesce inputs that have the same output path. 2022-03-07 22:49:27 +01:00
discovery.scm
egg.scm
elpa.scm
file-systems.scm
gem.scm
gexp.scm gexp: Correctly handle #$output in 'gexp->approximate-sexp'. 2022-03-13 23:20:07 +01:00
git-authenticate.scm git-authenticate: Ensure the target is a descendant of the introductory commit. 2022-02-14 11:23:08 +01:00
git.scm git: Add 'commit-descendant?'. 2022-02-14 11:23:07 +01:00
glob.scm
gnu-maintenance.scm
go.scm
grafts.scm
graph.scm tests: Assert that cyclic graphs can be produced. 2022-02-05 08:02:30 +01:00
gremlin.scm tests: Fix file-needed/recursive on aarch64-linux. 2022-01-16 20:21:27 -08:00
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh
guix-build.sh guix build: Warn when attempting to build an unsupported package. 2022-02-18 14:14:38 +01:00
guix-daemon.sh
guix-describe.sh
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-git-authenticate.sh git-authenticate: Ensure the target is a descendant of the introductory commit. 2022-02-14 11:23:08 +01:00
guix-graph.sh tests: Clean up after 'tests/guix-graph.sh'. 2022-01-16 23:56:56 +01:00
guix-hash.sh guix hash: Allow '--exclude-vcs' option using 'git' serializer. 2022-01-04 20:37:29 -05:00
guix-home.sh tests: Check 'guix home reconfigure' for a second generation. 2022-03-10 11:43:14 +01:00
guix-lint.sh
guix-pack-localstatedir.sh
guix-pack-relocatable.sh
guix-pack.sh profiles: 'profile-derivation' rejects unsupported packages. 2022-02-18 14:14:38 +01:00
guix-package-aliases.sh
guix-package-net.sh package: Honor '--dry-run' when target profile is already in store. 2022-01-19 22:07:54 +01:00
guix-package.sh profiles: 'profile-derivation' rejects unsupported packages. 2022-02-18 14:14:38 +01:00
guix-repl.sh
guix-shell.sh profiles: 'profile-derivation' rejects unsupported packages. 2022-02-18 14:14:38 +01:00
guix-system.sh profiles: 'profile-derivation' rejects unsupported packages. 2022-02-18 14:14:38 +01:00
hackage.scm
home-import.scm home: import: Fix handling of manifest entries with specific output. 2022-01-05 23:44:18 +01:00
http-client.scm tests: Add (guix http-client) tests. 2022-03-06 22:49:46 +01:00
import-git.scm
import-github.scm tests: Adjust to (guix import github) changes. 2022-03-07 22:49:27 +01:00
import-utils.scm
inferior.scm
ipfs.scm
lint.scm lint: check-tests-true: Allow #:tests? #t for some build systems. 2022-03-11 23:34:47 -05:00
minetest.scm upstream: Support updating and fetching 'git-fetch' origins. 2022-01-06 16:27:30 +01:00
modules.scm
monads.scm
nar.scm
networking.scm
offload.scm
opam.scm
openpgp.scm
pack.scm
packages.scm packages: 'package-transitive-supported-systems' ignores '%current-target-system'. 2022-02-18 14:14:38 +01:00
pki.scm
print.scm
processes.scm
profiles.scm tests: Pass #:guile to 'computed-file' & co. 2022-02-11 23:51:39 +01:00
publish.scm publish: Do not sign the URL/Compression/FileSize narinfo fields. 2022-02-14 11:23:56 +01:00
pypi.scm tests: Adjust pypi test to recent changes. 2022-02-11 23:51:39 +01:00
records.scm
scripts.scm
search-paths.scm
services.scm
sets.scm
size.scm
status.scm
store-database.scm
store-deduplication.scm
store-roots.scm
store.scm
style.scm style: '-S format' canonicalizes comments. 2022-01-10 14:59:26 +01:00
substitute.scm publish: Do not sign the URL/Compression/FileSize narinfo fields. 2022-02-14 11:23:56 +01:00
swh.scm
syscalls.scm
system.scm
test.drv
texlive.scm import: texlive: Remove labels from 'propagated-inputs' field. 2022-01-13 23:11:19 +01:00
transformations.scm
ui.scm
union.scm
upstream.scm tests: Add failing tests for changed-inputs on new style inputs. 2022-01-05 21:17:58 +01:00
utils.scm
uuid.scm
workers.scm