guix-commits
[Top][All Lists]
Advanced

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

40/44: gnu: sysbench: Fix test suite.


From: guix-commits
Subject: 40/44: gnu: sysbench: Fix test suite.
Date: Fri, 21 Apr 2023 00:48:27 -0400 (EDT)

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

commit 5ecdcd6afbaa01e0b674a86ff101246edc4b5c3c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 21 00:11:46 2023 -0400

    gnu: sysbench: Fix test suite.
    
    * gnu/packages/benchmark.scm (sysbench) [arguments]: Patch egrep in the
    patch-test-runner phase.
---
 gnu/packages/benchmark.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index 0cc8def918..d764e64571 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -634,7 +634,12 @@ its features are:
                          ;; Do not attempt to invoke the cram command via
                          ;; Python, as on Guix it is a shell script (wrapper).
                          (("\\$\\(command -v cram\\)")
-                          "-m cram"))))
+                          "-m cram"))
+                       (substitute* "tests/t/opt_report_checkpoints.t"
+                         ;; egrep outputs a deprecation warning, which breaks
+                         ;; the test.
+                         (("egrep")
+                          "grep -E"))))
                    (add-after 'unpack 'disable-test-installation
                      (lambda _
                        (substitute* "tests/Makefile.am"



reply via email to

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