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

[Git][ocaml-team/ocaml-batteries][master] 2 commits: Remove one test that fails on mips64el and hppa (at least)



Title: GitLab

Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / ocaml-batteries

Commits:

  • 36cdf20a
    by Stephane Glondu at 2023-10-01T06:48:03+02:00
    Remove one test that fails on mips64el and hppa (at least)
    
  • 4c55dacf
    by Stephane Glondu at 2023-10-01T06:48:28+02:00
    Update changelog and prepare upload to unstable
    

3 changed files:

Changes:

  • debian/changelog
    1
    +ocaml-batteries (3.7.1-3) unstable; urgency=medium
    
    2
    +
    
    3
    +  * Team upload
    
    4
    +  * Remove one test that fails on mips64el and hppa (at least)
    
    5
    +
    
    6
    + -- Stéphane Glondu <glondu@debian.org>  Sun, 01 Oct 2023 06:48:18 +0200
    
    7
    +
    
    1 8
     ocaml-batteries (3.7.1-2) unstable; urgency=medium
    
    2 9
     
    
    3 10
       * Team upload
    

  • debian/patches/0002-Remove-one-test-that-fails-on-mips64el-and-hppa-at-l.patch
    1
    +From: Stephane Glondu <steph@glondu.net>
    
    2
    +Date: Sun, 1 Oct 2023 06:45:17 +0200
    
    3
    +Subject: Remove one test that fails on mips64el and hppa (at least)
    
    4
    +
    
    5
    +On mips64el, `int_of_float nan` returns -1 and not 0 like on most
    
    6
    +architectures.
    
    7
    +---
    
    8
    + src/batBool.ml | 1 -
    
    9
    + 1 file changed, 1 deletion(-)
    
    10
    +
    
    11
    +diff --git a/src/batBool.ml b/src/batBool.ml
    
    12
    +index 41677df..fdb4459 100644
    
    13
    +--- a/src/batBool.ml
    
    14
    ++++ b/src/batBool.ml
    
    15
    +@@ -102,7 +102,6 @@ include BatNumber.MakeNumeric(BaseBool)
    
    16
    + (*$T
    
    17
    +   of_float (-1.) = true
    
    18
    +   of_float 0. = false
    
    19
    +-  of_float nan = false
    
    20
    +   to_float true = 1.
    
    21
    +   to_float false = 0.
    
    22
    +   of_string "true" = true

  • debian/patches/series
    1 1
     0001-Fix-compilation-on-32-bit-architectures.patch
    
    2
    +0002-Remove-one-test-that-fails-on-mips64el-and-hppa-at-l.patch


  • Reply to: