summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/config.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-04-15 13:26:36 +1000
committerChris Johns <chrisj@rtems.org>2013-04-15 13:26:36 +1000
commitb8ee74d356e95e43387ffa0c4a73776724ed4015 (patch)
tree703a6ad11e12ad867f2a33a5488ffc4031d8ce83 /source-builder/sb/config.py
parentPR 2117 - Only check the prefix is writable if installing and not a dry run. (diff)
downloadrtems-source-builder-b8ee74d356e95e43387ffa0c4a73776724ed4015.tar.bz2
Add a %testing section to the configuration files.
Diffstat (limited to 'source-builder/sb/config.py')
-rw-r--r--source-builder/sb/config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index a41a37c..457044a 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -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'),