Add a %testing section to the configuration files.

This commit is contained in:
Chris Johns
2013-04-15 13:26:36 +10:00
parent 2cc7a974a5
commit b8ee74d356
2 changed files with 9 additions and 1 deletions

View File

@@ -197,6 +197,9 @@ class package:
def include(self):
return self.find_directive('%include')
def testing(self):
return self.find_directive('%testing')
def long_name(self):
return self.name()
@@ -209,7 +212,8 @@ class file:
'%clean',
'%install',
'%include',
'%install' ]
'%install',
'%testing' ]
_ignore = [ re.compile('%setup'),
re.compile('%configure'),