guix-commits
[Top][All Lists]
Advanced

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

02/09: gnu: cssc: Fix tests.


From: guix-commits
Subject: 02/09: gnu: cssc: Fix tests.
Date: Thu, 31 Aug 2023 06:03:24 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit 6bd20f880c371108e41170c55498284f7022dcbc
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Sun Aug 27 17:41:31 2023 +0800

    gnu: cssc: Fix tests.
    
    * gnu/packages/version-control.scm (cssc)[arguments]: Replace
    egrep with grep -E in the precheck phase.
---
 gnu/packages/version-control.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 699a091642..1ca3dc9a53 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2377,6 +2377,15 @@ reviewing large, complex patch files.")
                (substitute* "tests/prt/all-512.sh"
                  (("/bin/sh") (which "sh")))
 
+               (for-each
+                (lambda (file)
+                  (substitute* file (("egrep") "grep -E")))
+                '("tests/common/test-common"
+                  "tests/admin/comment.sh"
+                  "tests/cdc/2comment.sh"
+                  "tests/cdc/4order.sh"
+                  "tests/get/subst.sh"))
+
                ;; XXX: This test has no hope of passing until there is a 
"nogroup"
                ;; entry (or at least some group to which the guix builder does
                ;; not belong) in the /etc/group file of the build environment.



reply via email to

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