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

[Git][ocaml-team/ocaml-dune][master] 2 commits: Enable spawn-depending tests



Title: GitLab

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:

Changes:

  • debian/changelog
    1
    +ocaml-dune (3.20.2-4) UNRELEASED; urgency=medium
    
    2
    +
    
    3
    +  * Enable spawn-depending tests
    
    4
    +
    
    5
    + -- Stéphane Glondu <glondu@debian.org>  Tue, 16 Sep 2025 15:20:56 +0200
    
    6
    +
    
    1 7
     ocaml-dune (3.20.2-3) unstable; urgency=medium
    
    2 8
     
    
    3 9
       * Skip flaky tests in autopkgtest
    

  • debian/tests/control
    ... ... @@ -2,8 +2,19 @@ Tests: tests
    2 2
     Depends:
    
    3 3
      git,
    
    4 4
      pkgconf,
    
    5
    + curl,
    
    6
    + file,
    
    7
    + opam,
    
    8
    + patch,
    
    9
    + procps,
    
    10
    + menhir,
    
    11
    + strace,
    
    12
    + ocaml-odoc,
    
    5 13
      liblwt-ocaml-dev,
    
    6 14
      libppx-inline-test-ocaml-dev,
    
    7 15
      libppx-expect-ocaml-dev,
    
    8 16
      libresult-ocaml-dev,
    
    17
    + libspawn-ocaml-dev,
    
    18
    + libfindlib-ocaml-dev,
    
    19
    + libcmdliner-ocaml-dev,
    
    9 20
      @

  • debian/tests/tests
    ... ... @@ -8,13 +8,28 @@ mkdir -p ${outdir}
    8 8
     cp -a . ${outdir}
    
    9 9
     cd ${outdir}
    
    10 10
     
    
    11
    -# Many tests depend on the "spawn" library which is not packaged in
    
    12
    -# Debian at the moment; remove them for now.
    
    13
    -rm -rf test/expect-tests
    
    14
    -rm -rf test/blackbox-tests/test-cases
    
    15
    -rm -rf otherlibs/stdune/test
    
    16
    -rm -rf otherlibs/chrome-trace/test
    
    17
    -rm -rf src/fiber/test
    
    11
    +# Tests that need melc
    
    12
    +rm -rf test/blackbox-tests/test-cases/melange
    
    13
    +rm -rf test/blackbox-tests/test-cases/merlin
    
    14
    +
    
    15
    +# Tests that need files in /usr/doc
    
    16
    +rm -rf test/blackbox-tests/test-cases/cinaps
    
    17
    +rm -rf test/blackbox-tests/test-cases/inline_tests
    
    18
    +rm -rf test/blackbox-tests/test-cases/ppx
    
    19
    +rm -rf test/blackbox-tests/test-cases/utop
    
    20
    +rm -rf test/blackbox-tests/test-cases/jsoo
    
    21
    +rm -rf test/blackbox-tests/test-cases/cinaps
    
    22
    +rm -rf test/blackbox-tests/test-cases/mdx-stanza
    
    23
    +rm -rf test/blackbox-tests/test-cases/ctypes
    
    24
    +
    
    25
    +# Tests with other unsatisfied assumptions
    
    26
    +rm -rf test/blackbox-tests/test-cases/custom-cross-compilation
    
    27
    +rm -rf test/blackbox-tests/test-cases/subst
    
    28
    +rm -rf test/blackbox-tests/test-cases/pkg
    
    29
    +rm -rf test/blackbox-tests/test-cases/os-variables.t
    
    30
    +rm -rf test/blackbox-tests/test-cases/cram
    
    31
    +rm -rf test/blackbox-tests/test-cases/actions
    
    32
    +rm -rf test/expect-tests/vcs
    
    18 33
     
    
    19 34
     # Other tests assume a native architecture
    
    20 35
     if ! command -v ocamlopt > /dev/null; then
    


  • Reply to: