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

[Git][ocaml-team/opam][master] 2 commits: Fix autopkgtest



Title: GitLab

Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / opam

Commits:

  • 80853f98
    by Stephane Glondu at 2024-08-21T09:33:17+02:00
    Fix autopkgtest
    
  • 49795393
    by Stephane Glondu at 2024-08-21T09:33:17+02:00
    Update changelog and prepare upload to unstable
    

3 changed files:

Changes:

  • debian/changelog
    1
    +opam (2.2.0-2) unstable; urgency=medium
    
    2
    +
    
    3
    +  * Fix autopkgtest
    
    4
    +
    
    5
    + -- Stéphane Glondu <glondu@debian.org>  Wed, 21 Aug 2024 09:25:30 +0200
    
    6
    +
    
    1 7
     opam (2.2.0-1) unstable; urgency=medium
    
    2 8
     
    
    3 9
       [ Stéphane Glondu ]
    

  • debian/tests/basic-test.sh
    1 1
     #!/bin/sh
    
    2 2
     set -eu
    
    3 3
     
    
    4
    -if command -v tput > /dev/null; then
    
    4
    +if [ -n "$TERM" ] && command -v tput > /dev/null; then
    
    5 5
         YELLOW="$(tput setaf 3)"
    
    6 6
         RESET="$(tput sgr0)"
    
    7 7
     else
    
    ... ... @@ -19,5 +19,5 @@ SWITCH="$(basename $0)"
    19 19
     export HOME="$(mktemp -d)"
    
    20 20
     trap 'rm -rf -- "$HOME"' EXIT
    
    21 21
     
    
    22
    -run opam init --no-setup --compiler="$SWITCH"
    
    22
    +run opam init --disable-sandbox --no-setup --compiler="$SWITCH"
    
    23 23
     run opam install -y merlin ocp-indent utop

  • debian/tests/control
    1 1
     Tests: 4.08.1 ocaml-system
    
    2 2
     Depends: @, ca-certificates
    
    3
    -Restrictions: isolation-container, allow-stderr
    
    4
    -# Container (or greater) isolation seems required for bwrap to work correctly
    
    5
    -
    
    6
    -Tests: ocaml-system
    
    7
    -Depends: ocaml-nox
    3
    +Restrictions: allow-stderr, needs-internet


  • Reply to: