summaryrefslogtreecommitdiffstats
path: root/timings/JTimer/TimeSCons-run.py
diff options
context:
space:
mode:
Diffstat (limited to 'timings/JTimer/TimeSCons-run.py')
-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 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()