guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: ocaml-mdx: Fix tests.


From: guix-commits
Subject: 02/02: gnu: ocaml-mdx: Fix tests.
Date: Wed, 12 Apr 2023 15:53:35 -0400 (EDT)

roptat pushed a commit to branch core-updates
in repository guix.

commit a957171bc41e98e29674f99cf3dd2940ff45a0d3
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Wed Apr 12 19:09:40 2023 +0200

    gnu: ocaml-mdx: Fix tests.
    
    * gnu/packages/ocaml.scm (ocaml-mdx)[arguments]: Substitue obsolete 'egrep' 
by
    'grep -E'.
    
    Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
 gnu/packages/ocaml.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f1c4e35044..b462d315e1 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9230,7 +9230,12 @@ variants.")
                             
"test/bin/mdx-test/misc/no-such-prelude/test.expected")
                (("`") "'")
                (("COMMAND") "[COMMAND]")
-               (("\\.\\.\\.") "…")))))))
+               (("\\.\\.\\.") "…"))))
+         (add-after 'fix-test-format 'fix-egrep
+           (lambda _
+             ;; egrep is obsolescent; using grep -E
+             (substitute* "test/bin/mdx-test/expect/padding/test-case.md"
+               (("egrep") "grep -E")))))))
     (propagated-inputs
      (list ocaml-fmt
            ocaml-astring



reply via email to

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