chiark / gitweb /
testing: Add skip-not-installable restriction to vsn-specific tests
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Oct 2018 00:30:59 +0000 (01:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Oct 2018 00:31:46 +0000 (01:31 +0100)
This way we can mention tcl versions which are not in the targeted
suite.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/regenerate-autopkgtests
debian/tests/control

index 3213e22b9e4171dca02840bb9f2e52d778731765..dc465c3fe43a37d6a7bc4866170c8ccee247f6ca 100755 (executable)
@@ -25,6 +25,10 @@ for sv in */debian-substvars; do
                chmod +x $dt/$t
                echo >&4 "Tests: $t"
                sed "s/^shlibs:Depends=/Depends: tcl$v, /" >&4 $sv
+               case $v in
+               '')     ;;
+               ?*)     echo >&4 'Restrictions: skip-not-installable' ;;
+               esac
                echo >&4
        done
        echo
index 92bc8077d5dd4ed488e2c4d1d9715922d13b2096..c807ee9d5a11b1bf6cf00274c321185cdc3ad680 100644 (file)
@@ -3,52 +3,64 @@ Depends: tcl, libadns1 (>= 1.5.0~), libc6 (>= 2.2.5), libtcl-chiark-1
 
 Tests: adns--8.5
 Depends: tcl8.5, libadns1 (>= 1.5.0~), libc6 (>= 2.2.5), libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: adns--8.6
 Depends: tcl8.6, libadns1 (>= 1.5.0~), libc6 (>= 2.2.5), libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: cdb--def
 Depends: tcl, libc6 (>= 2.14), libcdb1, libtcl-chiark-1
 
 Tests: cdb--8.5
 Depends: tcl8.5, libc6 (>= 2.14), libcdb1, libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: cdb--8.6
 Depends: tcl8.6, libc6 (>= 2.14), libcdb1, libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: crypto--def
 Depends: tcl, libc6 (>= 2.14), libnettle6, libtcl-chiark-1
 
 Tests: crypto--8.5
 Depends: tcl8.5, libc6 (>= 2.14), libnettle6, libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: crypto--8.6
 Depends: tcl8.6, libc6 (>= 2.14), libnettle6, libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: dgram--def
 Depends: tcl, libc6 (>= 2.14), libtcl-chiark-1
 
 Tests: dgram--8.5
 Depends: tcl8.5, libc6 (>= 2.14), libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: dgram--8.6
 Depends: tcl8.6, libc6 (>= 2.14), libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: hbytes--def
 Depends: tcl, libc6 (>= 2.14), libtcl-chiark-1
 
 Tests: hbytes--8.5
 Depends: tcl8.5, libc6 (>= 2.14), libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: hbytes--8.6
 Depends: tcl8.6, libc6 (>= 2.14), libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: tuntap--def
 Depends: tcl, libc6 (>= 2.2.5), libtcl-chiark-1
 
 Tests: tuntap--8.5
 Depends: tcl8.5, libc6 (>= 2.2.5), libtcl-chiark-1
+Restrictions: skip-not-installable
 
 Tests: tuntap--8.6
 Depends: tcl8.6, libc6 (>= 2.2.5), libtcl-chiark-1
+Restrictions: skip-not-installable