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 3213e22..dc465c3 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 92bc807..c807ee9 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