Browse Source

ccanlint: override _info's Fails: with --target

I wanted to see what happened with tdb2's valgrind test (suppressed in the
_info file).
Rusty Russell 15 years ago
parent
commit
7ddfc6696d
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tools/ccanlint/ccanlint.c

+ 4 - 1
tools/ccanlint/ccanlint.c

@@ -469,7 +469,10 @@ int main(int argc, char *argv[])
 		}
 	}
 
-	add_info_fails(m->info_file);
+	/* --target overrides _info excludes */
+	if (!target)
+		add_info_fails(m->info_file);
+
 	while ((i = get_next_test(&normal_tests)) != NULL)
 		run_test(i, summary, &score, &total_score, m);