From ece622e57ef359d0e969b4dc326476b483fd484c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Oct 2018 01:30:59 +0100 Subject: [PATCH] testing: Add skip-not-installable restriction to vsn-specific tests This way we can mention tcl versions which are not in the targeted suite. Signed-off-by: Ian Jackson --- debian/regenerate-autopkgtests | 4 ++++ debian/tests/control | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/debian/regenerate-autopkgtests b/debian/regenerate-autopkgtests index 3213e22..dc465c3 100755 --- a/debian/regenerate-autopkgtests +++ b/debian/regenerate-autopkgtests @@ -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 diff --git a/debian/tests/control b/debian/tests/control index 92bc807..c807ee9 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -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 -- 2.30.2