+autopkgtest (1.0.3) unstable; urgency=low
+
+ * WIP better reporting for DC-running
+
+ --
+
autopkgtest (1.0.2) unstable; urgency=low
* xenlvm command-line settings properly override config file
def rmtree(what, pathname):
debug('/ %s rmtree %s' % (what, pathname), 2)
- shutil.rmtree(pathname)
+ try: shutil.rmtree(pathname)
+ except (IOError,OSError), oe:
+ if oe.errno != errno.EEXIST: raise
def debug_subprocess(what, cmdl=None, script=None):
o = '$ '+what+':'
if xdump is not None and 'execute-debug' in tb.caps: cmdl += [xdump]
if tmpdir is not None: cmdl.append('env=TMPDIR=%s' % tmpdir)
if kind=='install': cmdl.append('env=DEBIAN_FRONTEND=noninteractive')
+# cmdl.append('env=LANG=C')
rc = tb.commandr1('execute', cmdl)
try: rc = int(rc)
ourx=0
upload=true
+: ${upload_if_notests:=false}
extras=''
case "$rc" in
2) summary='OK (some skipped)'; email=''
upload=$upload_if_ok ;;
8) summary='package declares no tests'; email=''
- upload=false; extras='nt' ;;
+ upload=$upload_if_notests; extras='nt' ;;
4|6) summary='test(s) failed!'; email="$maintainer_email" ;;
12) summary='erroneous package!'; email="$maintainer_email" ;;
16) summary='testbed failed!'; email="administrator_email" ;;
if $upload; then
progress "bundling"
+ printf "\n%s\n" "$summary" >>"$tmp"/_summary
ln "$tmp"/_summary "$tp"/summary
for odir in tmp out; do