diff options
author | Steven Knight <knight@baldmt.com> | 2009-12-10 03:42:30 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-12-10 03:42:30 (GMT) |
commit | e8551494b473640e3310c8acf87bddaaf9804613 (patch) | |
tree | 752358a6720d64a6737668780d3d531a86d5ee1c /timings/JTimer/TimeSCons-run.py | |
parent | adce42a8c1bd40f25af344cfce98ed26656cbea4 (diff) | |
download | SCons-e8551494b473640e3310c8acf87bddaaf9804613.zip SCons-e8551494b473640e3310c8acf87bddaaf9804613.tar.gz SCons-e8551494b473640e3310c8acf87bddaaf9804613.tar.bz2 |
Infrastructure to support calibration runs of TimeSCons tests, which
only run a full build and report back the values of any variables
affecting the configuration, and the elapsed time of the full build.
Diffstat (limited to 'timings/JTimer/TimeSCons-run.py')
-rw-r--r-- | timings/JTimer/TimeSCons-run.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/timings/JTimer/TimeSCons-run.py b/timings/JTimer/TimeSCons-run.py index 36b016f..05ffbfb 100644 --- a/timings/JTimer/TimeSCons-run.py +++ b/timings/JTimer/TimeSCons-run.py @@ -38,6 +38,8 @@ to the Taskmaster so it could be smarter about not re-evaluating Nodes. import TestSCons -target_count = 500 +test = TestSCons.TimeSCons(variables={'TARGET_COUNT':500}) -TestSCons.TimeSCons().main(options='TARGET_COUNT=%d' % target_count) +test.main() + +test.pass_test() |