From ecf92957659e36c22064f74994e3a54d83e34a9b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 16 Jul 2007 16:52:41 +0100 Subject: [PATCH] * Fix handling of non-.deb-producing source packages (eg, ones which produce only .udebs). --- debian/changelog | 2 ++ runner/adt-run | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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$') -- 2.30.2