* adt-testreport-onepackage: Do not prefer packages whose source package
is listed in the suppressions file.
* hosts/cadmium/manual-test-one-binary: new testing script.
+ * hosts/cadmium/onepackage-config: explain about archive skew.
+ * adt-testreport-onepackage: nicer score logging re skip chars.
+ * adt-testreport-onepackage: skip emails if _source_ is suppresed.
+ * adt-testreport-onepackage etc.: new blacklist feature, and initially
+ blacklist ltsp-client{,-core}.
--
upload_if_notests=true
suppressrepeatedemails=false
suppresspackages=suppressions
+blacklistbinarypackages=blacklist
email_extra_info='
The test environment is an amd64 Xen guest with limited amounts of
memory. The relevant dependencies are installed for each test but
very few other packages. Most autopkgtest reports are FTBFS problems.
+
+Please forgive this bug report if the problem is due to archive skew;
+in that case you'\''ve just been unlucky with the timing. Feel free to
+close the bug if the skew has been fixed, or will be fixed soon.
'
maintainer_email_override="new@bugs.launchpad.net"
progress selecting
+if test $target = source; then
+ blacklist="$blacklistsourcepackages"
+else
+ blacklist="$blacklistbinarypackages"
+fi
+
if [ "x$pkg" = x ]; then
pkg="`perl -e '
use IO::Handle;
printf SCORE "%$_[1]s", $_[0] or die $!;
}
- $suppresspackages= "'"$suppresspackages"'";
- if (length $suppresspackages) {
- unshift @ARGV, $suppresspackages; f1();
+ sub readpkglist ($$) {
+ my ($arrayref, $filename) = @_;
+ return unless length $filename;
+ unshift @ARGV, $filename; f1();
while (<F>) {
next if m/^\#/ or !m/\S/;
die unless m/^($pre)\s*$/;
-#print STDERR "SUPPRESS GOT $1\n";
- $suppress{$1}= 1;
+ $arrayref->{$1}= 1;
}
f2();
}
+ readpkglist(\%suppress, "'"$suppresspackages"'");
+ readpkglist(\%blacklist, "'"$blacklist"'");
f1();
while (<F>) {
f1();
$best_score= -2e9;
sub scorepackage () {
- return if $skip;
+ return if length $skip;
+ return if $blacklist{$package};
return if $score < $best_score
or ($score==$best_score and \
$package gt $best_package);
$score -= 2e7;
$scorechars.="s";
}
- pscore("-$scorechars",-5);
+ $scorechars.="[$skip]" if length $skip;
+
+ pscore("-$scorechars",-7);
pscore("$score",10);
#print STDERR "SCORE package=$package score $score source=$source\n";
} elsif (m/^Architecture:.*/ &&
!m/\s(?:'$arch'|all|any)\s/) {
#printf STDERR " <----- skip %s %s\n", $&, "'$arch'";
- $skip= 1;
+ $skip .= 'a';
} elsif (m/^$/) {
endpackage();
}
progress "RESULTS $summary"
if [ "x$suppresspackages" != x ] \
- && grep -x "$pkg" "$suppresspackages" >/dev/null; then
+ && grep -x "$src" "$suppresspackages" >/dev/null; then
printf >&3 "email-suppressed "
email=''
fi