diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2023-10-28 01:30:37 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-10-28 01:30:37 +0200 |
| commit | ff1146fb4f7254a8f644f89d7af6b4b566528603 (patch) | |
| tree | 5a3991b924026a82dedadddb6ac6cdf6f9f1a34d /tests/transformations.scm | |
| parent | 6eb147dc3146ff6e9651491f8dfa2406c22b9ac5 (diff) | |
tests: Adjust to cope with glibc graft.
This is a followup to 1328c4cca531318e3ed90c6aecb522a5b22a4bcc, which
led to failures for tests that were not prepared to cope with that.
* tests/guix-environment-container.sh (hello_drv_nested): Pass “-E
GUIX_BUILD_OPTIONS” so ‘--no-grafts’ is passed.
* tests/guix-pack.sh (GUIX_BUILD_OPTIONS): Add ‘--no-grafts’.
* tests/transformations.scm ("options->transformation, with-graft"):
Skip when ‘glibc-final’ has a replacement.
Change-Id: Ia65c9aeb06f524252815b8290a5ca7bf97ee8136
Diffstat (limited to 'tests/transformations.scm')
| -rw-r--r-- | tests/transformations.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/transformations.scm b/tests/transformations.scm index 704818b9ed1..755211d65d9 100644 --- a/tests/transformations.scm +++ b/tests/transformations.scm | |||
| @@ -187,6 +187,11 @@ | |||
| 187 | (string=? (package-full-name dep) | 187 | (string=? (package-full-name dep) |
| 188 | (package-full-name findutils))))))))))) | 188 | (package-full-name findutils))))))))))) |
| 189 | 189 | ||
| 190 | ;; The following test requires grafting enabled, but it becomes extremely | ||
| 191 | ;; expensive if there's a graft on glibc or other package deep in the graph. | ||
| 192 | (when (package-replacement (@ (gnu packages commencement) glibc-final)) | ||
| 193 | (test-skip 1)) | ||
| 194 | |||
| 190 | (test-assert "options->transformation, with-graft" | 195 | (test-assert "options->transformation, with-graft" |
| 191 | (let* ((p (dummy-package "guix.scm" | 196 | (let* ((p (dummy-package "guix.scm" |
| 192 | (inputs `(("foo" ,grep) | 197 | (inputs `(("foo" ,grep) |
