guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/09: tests: Adjust ‘guix build -P1’ test to new packages.


From: guix-commits
Subject: 01/09: tests: Adjust ‘guix build -P1’ test to new packages.
Date: Mon, 2 Dec 2024 17:20:58 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 58a8d3b180e3130bcbc9c371836d411474aa0c96
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 2 23:16:28 2024 +0100

    tests: Adjust ‘guix build -P1’ test to new packages.
    
    Fixes a bug introduced in 794e079437c8687f49d294322dab3b7a8a6abacf
    whereby the grep patterns used in this test would also match
    /gnu/store/…-rust-libgit2-sys-0.17.0+1.8.1.drv, thus getting 5 matches
    instead of 4.
    
    * tests/guix-build.sh: Refine grep patterns for ‘guix build -P1’ test.
    
    Reported-by: Janneke Nieuwenhuizen <janneke@gnu.org>
    Change-Id: Iae35e6ee44b8eca0ef66c1d8ab7f9ff65a59d8d0
---
 tests/guix-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/guix-build.sh b/tests/guix-build.sh
index 8707ed32c0..6d46d571a9 100644
--- a/tests/guix-build.sh
+++ b/tests/guix-build.sh
@@ -199,7 +199,7 @@ test `guix build -D hello -d \
 # Building the dependents.
 test `guix build -P1 libgit2 -P1 libssh -d \
       | grep -e 'guile-git.*\.drv$' -e 'guile-ssh.*\.drv$' \
-             -e 'libgit2.*\.drv$' -e 'libssh.*\.drv$' \
+             -e 'libgit2-[0-9].*\.drv$' -e 'libssh-[0-9].*\.drv$' \
       | wc -l` -eq 4
 
 # Unbound variable in thunked field.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]