emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#62796: closed ([PATCH core-updates] gnu: ocaml-ppxlib: Fix tests.)


From: GNU bug Tracking System
Subject: bug#62796: closed ([PATCH core-updates] gnu: ocaml-ppxlib: Fix tests.)
Date: Wed, 12 Apr 2023 19:56:03 +0000

Your message dated Wed, 12 Apr 2023 21:54:58 +0200
with message-id <20230412215418.616ccc58@sybil.lepiller.eu>
and subject line Re: [bug#62796] [PATCH core-updates v2 2/2] gnu: ocaml-mdx: 
Fix tests.
has caused the debbugs.gnu.org bug report #62796,
regarding [PATCH core-updates] gnu: ocaml-ppxlib: Fix tests.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62796: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62796
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH core-updates] gnu: ocaml-ppxlib: Fix tests. Date: Wed, 12 Apr 2023 18:00:10 +0200
* gnu/packages/ocaml.scm (ocaml-ppxlib)[arguments]: Substitue obsolete 'egrep'
by 'grep -E'.
---
 gnu/packages/ocaml.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Hi,

This fixes a regression when updating grep.


Cheers,
simon


diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c6dca2874f..f1c4e35044 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6660,7 +6660,12 @@ (define-public ocaml-ppxlib
              (substitute* "test/ppx_import_support/test.ml"
                (("\\(Failure") "Failure")
                (("  \"(Some ppx-es.*)\")" _ m)
-                (string-append " \"" m "\"."))))))))
+                (string-append " \"" m "\".")))))
+         (add-after 'fix-test-format 'fix-egrep
+           (lambda _
+             ;; egrep is obsolescent; using grep -E
+             (substitute* "test/expansion_context/run.t"
+               (("egrep") "grep -E")))))))
     (propagated-inputs
      (list ocaml-compiler-libs
            ocaml-ppx-derivers

base-commit: a3bfb867380f1e5ce157334d7d9877297ef509ab
-- 
2.38.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#62796] [PATCH core-updates v2 2/2] gnu: ocaml-mdx: Fix tests. Date: Wed, 12 Apr 2023 21:54:58 +0200
Pushed to core-updates as 8557eb9ffb909d5df8aba5ca1c444f23f083d7e9 and
a957171bc41e98e29674f99cf3dd2940ff45a0d3, thanks!


--- End Message ---

reply via email to

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