guix-commits
[Top][All Lists]
Advanced

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

01/10: tests: guix-build.sh: Don't use hidden gcc for transformation tes


From: guix-commits
Subject: 01/10: tests: guix-build.sh: Don't use hidden gcc for transformation tests.
Date: Fri, 28 Apr 2023 15:15:07 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 5c26e69118128f6ef162cabddfe5726f03abe4ae
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Tue Apr 25 22:16:41 2023 +0200

    tests: guix-build.sh: Don't use hidden gcc for transformation tests.
    
    * tests/guix-build.sh: Do not try to rewrite gcc, it is hidden and so will 
not
    be rewritten, as per eee95b5a879b7096dffd533f24107cf8926b621e.  Instead, try
    to build grep with coreutils rewritten to hello.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 tests/guix-build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/guix-build.sh b/tests/guix-build.sh
index 2c59177c86..317c58ac42 100644
--- a/tests/guix-build.sh
+++ b/tests/guix-build.sh
@@ -318,10 +318,10 @@ drv2=`guix build inkscape -d --no-grafts 
--with-graft=glib=glib-networking`
 test "$drv1" = "$drv2"
 
 # Rewriting implicit inputs.
-drv1=`guix build hello -d`
-drv2=`guix build hello -d --with-input=gcc=gcc-toolchain`
+drv1=`guix build grep -d`
+drv2=`guix build grep -d --with-input=coreutils=hello`
 test "$drv1" != "$drv2"
-guix gc -R "$drv2" | grep `guix build -d gcc-toolchain`
+guix gc -R "$drv2" | grep `guix build -d hello`
 
 guix build guile --with-input=libunistring=something-really-silly && false
 



reply via email to

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