diff options
author | Steven Knight <knight@baldmt.com> | 2010-01-19 19:29:37 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-01-19 19:29:37 (GMT) |
commit | 9b0d6bc69aa1ce77f67227c8b2ae9691ce6e77e6 (patch) | |
tree | a0e88fc17e353236dba6635211e7a76898f6ae44 | |
parent | 0e652e55364d5df78d2ad8abc46fd2eb0878fa8f (diff) | |
download | SCons-9b0d6bc69aa1ce77f67227c8b2ae9691ce6e77e6.zip SCons-9b0d6bc69aa1ce77f67227c8b2ae9691ce6e77e6.tar.gz SCons-9b0d6bc69aa1ce77f67227c8b2ae9691ce6e77e6.tar.bz2 |
Change the name of the 'help' statistic in the timings configurations
to 'startup'.
-rw-r--r-- | QMTest/TestSCons.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index d8dda8a..21efa3a 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -1102,10 +1102,10 @@ class TimeSCons(TestSCons): else: self.uptime() # TODO(1.5) - #self.help(*args, **kw) + #self.startup(*args, **kw) #self.full(*args, **kw) #self.null(*args, **kw) - apply(self.help, args, kw) + apply(self.startup, args, kw) apply(self.full, args, kw) apply(self.null, args, kw) @@ -1153,12 +1153,12 @@ class TimeSCons(TestSCons): result[stat.name] = {'value':value, 'units':stat.units} return result - def help(self, *args, **kw): + def startup(self, *args, **kw): """ Runs scons with the --help option. - This serves as a way to isolate just the amount of time spent - reading up the configuration, since --help exits before any + This serves as a way to isolate just the amount of startup time + spent reading up the configuration, since --help exits before any "real work" is done. """ kw['options'] = kw.get('options', '') + ' --help' @@ -1174,7 +1174,7 @@ class TimeSCons(TestSCons): # Delete the time-commands, since no commands are ever # executed on the help run and it is (or should be) always 0.0. del stats['time-commands'] - self.report_traces('help', stats) + self.report_traces('startup', stats) def full(self, *args, **kw): """ |