* adt-testreport-onepackage: suppress repetitive emails.
* hosts/cadmium/onepackage-config: change destination directory
Architecture: field corrected so package selection works properly.
* adt-testreport-onepackage: use ln -f when installing summary.
* hosts/cadmium/*: new directory for stuff on Canonical buildd.
+ * adt-run: increase timeouts to 3ks for tests and 10ks for builds.
+ * adt-testreport-onepackage: suppress repetitive emails.
+ * hosts/cadmium/onepackage-config: change destination directory
--
disable=false
desthttphead=http://autopkgtest.ubuntu.com/
destrsynchead=/home/iwj/public_html
-destdirtail=autopkgtest-output/$distro
+destdirtail=autopkgtest-output
adtvirt_extra_opts=--userv
upload_if_ok=true
upload_if_notests=true
+suppressrepeatedemails=true
tmpdir = None # pathstring on host
testbed = None # Testbed
errorcode = 0 # exit status that we are going to use
-timeouts = { 'short':10, 'install':900, 'test':600, 'build':3000 }
+timeouts = { 'short':10, 'install':900, 'test':3000, 'build':10000 }
binaries = None # Binaries (.debs we have registered)
build_essential = ["build-essential"]
disable=true
interactive=true
target=source
+suppressrepeatedemails=false
arch=`dpkg --print-architecture`
for config in "$@"; do
if $upload; then
progress "bundling"
printf "\n%s\n" "$summary" >>"$tmp"/_summary
+
+ edest=${email%_email}
+ esummary="$var"/emailed/last-$pkg,$edest
+ if [ "x$edest" = x ]; then
+ printf >&3 "email-none "
+ rm -f "$var"/emailed/last-$pkg,*
+ esummary=''
+ elif $suppressrepeatedemails \
+ && [ -f "$esummary" ] \
+ && diff -u "$esummary" "$tmp"/_summary >"$var"/emailed/diff-$pkg; then
+ printf >&3 "email-suppressed $email "
+ email=''
+ esummary=''
+ else
+ cp "$tmp"/_summary "$esummary".new
+ fi
+
ln -f "$tmp"/_summary "$tp"/summary
for odir in tmp out; do
cat "$tmp"/_email >&2
else
sendmail -odi -oem -t -oi <"$tmp"/_email
+ if [ "x$esummary" != x ]; then
+ printf >&3 "email-recorded "
+ mv "$esummary".new "esummary"
+ fi
fi
fi