debian/bin/buildcheck.py: Support module ignore matching.
svn path=/dists/sid/linux-2.6/; revision=15441
This commit is contained in:
parent
d3bbe78347
commit
0884591082
|
@ -136,6 +136,11 @@ class CheckAbi(object):
|
|||
type, ignore = ignore.split(':')
|
||||
if type == 'symbolmatch':
|
||||
filtered.update(fnmatch.filter(symbols.iterkeys(), ignore))
|
||||
elif type == 'module':
|
||||
for symbol in symbols.itervalues():
|
||||
symbol = symbol.symbol
|
||||
if symbol.module == ignore:
|
||||
filtered.add(symbol.name)
|
||||
else:
|
||||
raise NotImplementedError
|
||||
return filtered
|
||||
|
|
Loading…
Reference in New Issue