summaryrefslogtreecommitdiff
path: root/timings/JTimer
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-12-10 03:42:30 +0000
committerSteven Knight <knight@baldmt.com>2009-12-10 03:42:30 +0000
commit604c4c7e621ef996797b4fd4b3371b3271fbb908 (patch)
tree752358a6720d64a6737668780d3d531a86d5ee1c /timings/JTimer
parent54a94a65aac9a5478547930a680b46fc3021d822 (diff)
downloadscons-604c4c7e621ef996797b4fd4b3371b3271fbb908.tar.gz
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')
-rw-r--r--timings/JTimer/TimeSCons-run.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/timings/JTimer/TimeSCons-run.py b/timings/JTimer/TimeSCons-run.py
index 36b016f1..05ffbfb9 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()