guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: gnu: zstd: Fix tests on 32-bit architecture


From: guix-commits
Subject: branch core-updates updated: gnu: zstd: Fix tests on 32-bit architectures.
Date: Mon, 29 Mar 2021 20:23:43 -0400

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/core-updates by this push:
     new 00c6737  gnu: zstd: Fix tests on 32-bit architectures.
00c6737 is described below

commit 00c67375b17f4a4cfad53399d1918f2e7eba2c7d
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Tue Mar 30 00:54:09 2021 +0200

    gnu: zstd: Fix tests on 32-bit architectures.
    
    * gnu/packages/compression.scm (zstd)[arguments]<#:phases>: Add
    'fix-tests-32bit.
    
    Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
 gnu/packages/compression.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 1a41e5a..e28b78a 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2020 Léo Le Bouter <lle-bout@zaclys.net>
 ;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
 ;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
+;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1416,6 +1417,12 @@ or junctions, and always follows hard links.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-tests-32bit
+           ;; Remove when https://github.com/facebook/zstd/issues/2528 is 
fixed.
+           (lambda _
+             (substitute* "tests/playTests.sh"
+               (("roundTripTest -g8M \"19 -T0 --long\"")
+                "roundTripTest -g8M \"22 -T0 --long\""))))
          (add-after 'unpack 'remove-bogus-check
            (lambda _
              ;; lib/Makefile falsely claims that no .pc file can be created.



reply via email to

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