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


Commits:
5d083615 by Stephane Glondu at 2025-08-29T11:52:05+02:00
Fix autopkgtest

- - - - -
3fdfdfc3 by Stephane Glondu at 2025-08-29T11:52:05+02:00
Update changelog and prepare upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/patches/0001-Fix-splitting-the-empty-string.patch
- debian/tests/control
- debian/tests/dune-project
- debian/tests/tests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ocaml-re (1.13.3-4) unstable; urgency=medium
+
+  * Team upload
+  * Fix autopkgtest
+
+ -- Stéphane Glondu <[email protected]>  Fri, 29 Aug 2025 11:47:56 +0200
+
 ocaml-re (1.13.3-3) unstable; urgency=medium
 
   * Team upload


=====================================
debian/patches/0001-Fix-splitting-the-empty-string.patch
=====================================
@@ -4,8 +4,9 @@ Subject: Fix splitting the empty string
 
 Bug: https://github.com/ocaml/ocaml-re/issues/584
 ---
- lib/pcre.ml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ lib/pcre.ml                      | 2 +-
+ lib_test/expect/test_pcre_288.ml | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/lib/pcre.ml b/lib/pcre.ml
 index 6287594..1772aca 100644
@@ -20,3 +21,16 @@ index 6287594..1772aca 100644
  ;;
  
  (* From PCRE *)
+diff --git a/lib_test/expect/test_pcre_288.ml 
b/lib_test/expect/test_pcre_288.ml
+index 30ae0d4..a6d08ee 100644
+--- a/lib_test/expect/test_pcre_288.ml
++++ b/lib_test/expect/test_pcre_288.ml
+@@ -5,7 +5,7 @@ let whitespace_re = Pcre.regexp "\\s+"
+ 
+ let%expect_test "split1" =
+   strings (Pcre.split ~rex:whitespace_re "");
+-  [%expect {| [""] |}]
++  [%expect {| [] |}]
+ ;;
+ 
+ let%expect_test "split2" =


=====================================
debian/tests/control
=====================================
@@ -1,2 +1,2 @@
 Tests: tests
-Depends: @, ocaml, ocaml-dune, libounit-ocaml-dev
+Depends: @, ocaml, ocaml-dune, libounit-ocaml-dev, 
libppx-inline-test-ocaml-dev, libppx-expect-ocaml-dev, js-of-ocaml, nodejs


=====================================
debian/tests/dune-project
=====================================
@@ -1,2 +1,2 @@
-(lang dune 2.0)
+(lang dune 3.12)
 (name re-tests)


=====================================
debian/tests/tests
=====================================
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 set -e
 
@@ -7,9 +7,9 @@ mkdir -p ${outdir}
 
 cp -a lib_test ${outdir}
 cp debian/tests/dune-project ${outdir}/lib_test/
-cp lib/fmt.ml ${outdir}/lib_test/fort_unit/
+mkdir -p ${outdir}/lib_test/lib/
+cp lib/*.{ml,mli} ${outdir}/lib_test/lib/
 cd ${outdir}/lib_test
-sed -i '/fmt\.ml/d' fort_unit/dune
 
 echo "* Run tests"
 dune runtest 2>&1



View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-re/-/compare/6d3e7aa307c9b7784769ce59d481f345e0197f4f...3fdfdfc3785ced5d64ad9b7742c812d9a8055768

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-re/-/compare/6d3e7aa307c9b7784769ce59d481f345e0197f4f...3fdfdfc3785ced5d64ad9b7742c812d9a8055768
You're receiving this email because of your account on salsa.debian.org.


Reply via email to