From: Ian Jackson Date: Mon, 16 Jul 2007 15:52:41 +0000 (+0100) Subject: * Fix handling of non-.deb-producing source packages (eg, ones X-Git-Tag: converted-from-bzr~44^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ecf92957659e36c22064f74994e3a54d83e34a9b;p=autopkgtest.git * Fix handling of non-.deb-producing source packages (eg, ones which produce only .udebs). --- diff --git a/debian/changelog b/debian/changelog index 69f1559..d75fbcb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ autopkgtest (1.0.3) unstable; urgency=low * Make builds work again: Fix `cd *' in work.write (broken by inclusion of `tmpdir' in that directory). * adt-testreport-onepackage has better reporting for DC-running. + * Fix handling of non-.deb-producing source packages (eg, ones + which produce only .udebs). -- diff --git a/runner/adt-run b/runner/adt-run index de2f0cb..e5a2c97 100755 --- a/runner/adt-run +++ b/runner/adt-run @@ -1677,7 +1677,7 @@ def build_source(act, control_override): result_debs = source_rules_command(act,script,what, 'binary',work,work.write(True), results_lines=1, xargs=['x',tmpdir]) - if result_debs == '*': debs = [] + if result_debs == '*.deb': debs = [] else: debs = result_debs.split(' ') debug_b('debs='+`debs`) re = regexp.compile('^([-+.0-9a-z]+)_[^_/]+(?:_[^_/]+)\.deb$')