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


Commits:
aecf4203 by Stephane Glondu at 2025-09-16T15:17:48+02:00
Enable spawn-depending tests

- - - - -
21fffd69 by Stephane Glondu at 2025-09-16T15:21:02+02:00
Update changelog

- - - - -


3 changed files:

- debian/changelog
- debian/tests/control
- debian/tests/tests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+ocaml-dune (3.20.2-4) UNRELEASED; urgency=medium
+
+  * Enable spawn-depending tests
+
+ -- Stéphane Glondu <[email protected]>  Tue, 16 Sep 2025 15:20:56 +0200
+
 ocaml-dune (3.20.2-3) unstable; urgency=medium
 
   * Skip flaky tests in autopkgtest


=====================================
debian/tests/control
=====================================
@@ -2,8 +2,19 @@ Tests: tests
 Depends:
  git,
  pkgconf,
+ curl,
+ file,
+ opam,
+ patch,
+ procps,
+ menhir,
+ strace,
+ ocaml-odoc,
  liblwt-ocaml-dev,
  libppx-inline-test-ocaml-dev,
  libppx-expect-ocaml-dev,
  libresult-ocaml-dev,
+ libspawn-ocaml-dev,
+ libfindlib-ocaml-dev,
+ libcmdliner-ocaml-dev,
  @


=====================================
debian/tests/tests
=====================================
@@ -8,13 +8,28 @@ mkdir -p ${outdir}
 cp -a . ${outdir}
 cd ${outdir}
 
-# Many tests depend on the "spawn" library which is not packaged in
-# Debian at the moment; remove them for now.
-rm -rf test/expect-tests
-rm -rf test/blackbox-tests/test-cases
-rm -rf otherlibs/stdune/test
-rm -rf otherlibs/chrome-trace/test
-rm -rf src/fiber/test
+# Tests that need melc
+rm -rf test/blackbox-tests/test-cases/melange
+rm -rf test/blackbox-tests/test-cases/merlin
+
+# Tests that need files in /usr/doc
+rm -rf test/blackbox-tests/test-cases/cinaps
+rm -rf test/blackbox-tests/test-cases/inline_tests
+rm -rf test/blackbox-tests/test-cases/ppx
+rm -rf test/blackbox-tests/test-cases/utop
+rm -rf test/blackbox-tests/test-cases/jsoo
+rm -rf test/blackbox-tests/test-cases/cinaps
+rm -rf test/blackbox-tests/test-cases/mdx-stanza
+rm -rf test/blackbox-tests/test-cases/ctypes
+
+# Tests with other unsatisfied assumptions
+rm -rf test/blackbox-tests/test-cases/custom-cross-compilation
+rm -rf test/blackbox-tests/test-cases/subst
+rm -rf test/blackbox-tests/test-cases/pkg
+rm -rf test/blackbox-tests/test-cases/os-variables.t
+rm -rf test/blackbox-tests/test-cases/cram
+rm -rf test/blackbox-tests/test-cases/actions
+rm -rf test/expect-tests/vcs
 
 # Other tests assume a native architecture
 if ! command -v ocamlopt > /dev/null; then



View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-dune/-/compare/5122bdab01bbc026ffbda6d3de29bc115fd3dc55...21fffd69deb9c45aeedea468c3d4abf16f31c31c

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-dune/-/compare/5122bdab01bbc026ffbda6d3de29bc115fd3dc55...21fffd69deb9c45aeedea468c3d4abf16f31c31c
You're receiving this email because of your account on salsa.debian.org.


Reply via email to