From: Ian Jackson Date: Fri, 29 Jul 2011 15:35:23 +0000 (+0100) Subject: adt-run: fix "build-needed" restriction to have correct sense X-Git-Tag: debian/2.0.0~17 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=869f9663cb6577d47af6d38bd927b1780443c822;p=autopkgtest.git adt-run: fix "build-needed" restriction to have correct sense --- diff --git a/runner/adt-run b/runner/adt-run index 955097b..6f2a554 100755 --- a/runner/adt-run +++ b/runner/adt-run @@ -1664,7 +1664,7 @@ def build_source(act, control_override): stanzas = read_control(act, result_pwd_af, control_override) for stanza in stanzas: for t in stanza[' tests']: - if 'build-needed' not in t.restriction_names: + if 'build-needed' in t.restriction_names: build_needed('test %s' % t.tname) for d in t.depends: if '@' in d: