chiark / gitweb /
debian: tests: Prepare for restrictions from test cases
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 24 May 2025 17:52:35 +0000 (18:52 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 24 May 2025 17:55:46 +0000 (18:55 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/regenerate-autopkgtests
debian/tests/control

index dc465c3fe43a37d6a7bc4866170c8ccee247f6ca..8e63f574bb5b782502579814542523891f2034cf 100755 (executable)
@@ -25,10 +25,12 @@ for sv in */debian-substvars; do
                chmod +x $dt/$t
                echo >&4 "Tests: $t"
                sed "s/^shlibs:Depends=/Depends: tcl$v, /" >&4 $sv
+               restrictions=''
                case $v in
                '')     ;;
-               ?*)     echo >&4 'Restrictions: skip-not-installable' ;;
+               ?*)     restrictions+=' skip-not-installable';
                esac
+               echo >&4 "Restrictions:$restrictions"
                echo >&4
        done
        echo
index 2a27dad9361fa556150f03ccbed57c5d2bdbc8da..849b1ee9bcf42e18043e80af236aae4cd254766d 100644 (file)
@@ -1,5 +1,6 @@
 Tests: adns--def
 Depends: tcl, libadns1t64 (>= 1.5.0~), libc6 (>= 2.2.5), libtcl-chiark-1 (>= 1.3.5+b1)
+Restrictions:
 
 Tests: adns--8.5
 Depends: tcl8.5, libadns1t64 (>= 1.5.0~), libc6 (>= 2.2.5), libtcl-chiark-1 (>= 1.3.5+b1)
@@ -15,6 +16,7 @@ Restrictions: skip-not-installable
 
 Tests: cdb--def
 Depends: tcl, libc6 (>= 2.33), libcdb1 (>= 0.76), libtcl-chiark-1 (>= 1.3.5+b1)
+Restrictions:
 
 Tests: cdb--8.5
 Depends: tcl8.5, libc6 (>= 2.33), libcdb1 (>= 0.76), libtcl-chiark-1 (>= 1.3.5+b1)
@@ -30,6 +32,7 @@ Restrictions: skip-not-installable
 
 Tests: crypto--def
 Depends: tcl, libc6 (>= 2.14), libnettle8t64, libtcl-chiark-1 (>= 1.3.5+b1)
+Restrictions:
 
 Tests: crypto--8.5
 Depends: tcl8.5, libc6 (>= 2.14), libnettle8t64, libtcl-chiark-1 (>= 1.3.5+b1)
@@ -45,6 +48,7 @@ Restrictions: skip-not-installable
 
 Tests: dgram--def
 Depends: tcl, libc6 (>= 2.14), libtcl-chiark-1 (>= 1.3.5+b1)
+Restrictions:
 
 Tests: dgram--8.5
 Depends: tcl8.5, libc6 (>= 2.14), libtcl-chiark-1 (>= 1.3.5+b1)
@@ -60,6 +64,7 @@ Restrictions: skip-not-installable
 
 Tests: hbytes--def
 Depends: tcl, libc6 (>= 2.14), libtcl-chiark-1 (>= 1.3.5+b1)
+Restrictions:
 
 Tests: hbytes--8.5
 Depends: tcl8.5, libc6 (>= 2.14), libtcl-chiark-1 (>= 1.3.5+b1)
@@ -75,6 +80,7 @@ Restrictions: skip-not-installable
 
 Tests: tuntap--def
 Depends: tcl, libc6 (>= 2.2.5), libtcl-chiark-1 (>= 1.3.5+b1)
+Restrictions:
 
 Tests: tuntap--8.5
 Depends: tcl8.5, libc6 (>= 2.2.5), libtcl-chiark-1 (>= 1.3.5+b1)