From 869f9663cb6577d47af6d38bd927b1780443c822 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 29 Jul 2011 16:35:23 +0100 Subject: [PATCH] adt-run: fix "build-needed" restriction to have correct sense --- runner/adt-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2