16 whynot=$(t-restriction-$r)
21 1.?*) whynots="$whynots${whynots:+; }$whynot" ;;
22 *) fail "restriction $r for $t gave $rc $whynot !"
29 ?*) echo >&2 "SKIP $t $whynots" ;;
37 test-begin-gencontrol () {
41 restriction-gencontrol () {
45 test-done-gencontrol () {
47 sed <debian/tests/control.in ''
48 case "$restrictions" in
49 ?*) echo "Restrictions:$restrictions" ;;
52 key=$(printf "%s" "$stanza" | sha256sum)
55 stanza_$key=\"\$stanza\"
56 tests_$key+=\" \${t#tests/tests/}\"
58 keys=" ${keys/ $key /}"
62 finish-gencontrol () {
68 printf "Tests:%s\n%s\n\n" "$tests" "$stanza"
72 for t in $(run-parts --list tests/tests); do
74 for r in $(sed <$t -n '
76 /^: t-list-tests-end$/q;