if ! test -e "$sv"; then continue; fi
make -C "$d" test-load.tcl
printf "%s..." $d
- for v in "$@"; do
- t=$d--$v
- printf " %s" $v
+ for v in '' "$@"; do
+ vv=${v:-def}
+ t=$d--$vv
+ printf " %s" $vv
exec 3>$dt/$t
echo >&3 "#!/usr/bin/tclsh$v"
cat >&3 "$d"/test-load.tcl
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