summaryrefslogtreecommitdiffstats
path: root/QMTest/TestSCons.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-12-17 07:11:51 (GMT)
committerSteven Knight <knight@baldmt.com>2009-12-17 07:11:51 (GMT)
commit2505ef40e635c2528ae2e9e3e1b190b9696fdfc9 (patch)
tree8777faeec8bdd7e7be505c4d00ed0b0b20a4ded0 /QMTest/TestSCons.py
parentef9c1c8621e8161e2074f767bb30f548e5cfcd6b (diff)
downloadSCons-2505ef40e635c2528ae2e9e3e1b190b9696fdfc9.zip
SCons-2505ef40e635c2528ae2e9e3e1b190b9696fdfc9.tar.gz
SCons-2505ef40e635c2528ae2e9e3e1b190b9696fdfc9.tar.bz2
Ignore the exit status from the --help run on timing builds, since some
early revisions have bugs and we can still go on and get useful stats from the full and null builds.
Diffstat (limited to 'QMTest/TestSCons.py')
-rw-r--r--QMTest/TestSCons.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index 00328ed..c98314b 100644
--- a/QMTest/TestSCons.py
+++ b/QMTest/TestSCons.py
@@ -1129,6 +1129,10 @@ class TimeSCons(TestSCons):
"real work" is done.
"""
kw['options'] = kw.get('options', '') + ' --help'
+ # Ignore the exit status. If the --help run dies, we just
+ # won't report any statistics for it, but we can still execute
+ # the full and null builds.
+ kw['status'] = None
# TODO(1.5)
#self.run(*args, **kw)
apply(self.run, args, kw)