summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGE-LOG4
-rw-r--r--pts-core/functions/pts-functions-run.php7
2 files changed, 11 insertions, 0 deletions
diff --git a/CHANGE-LOG b/CHANGE-LOG
index 4221263..a94c34a 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -1,5 +1,9 @@
PHORONIX TEST SUITE CHANGE-LOG
+Phoronix Test Suite (Git)
+
+- pts-core: Add FORCE_TIMES_TO_RUN environmental variable for forcing the number of times to run a test
+
Phoronix Test Suite 1.6.0 Beta 2
January 2, 2009
diff --git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php
index 4b1b239..e30f8f3 100644
--- a/pts-core/functions/pts-functions-run.php
+++ b/pts-core/functions/pts-functions-run.php
@@ -794,6 +794,13 @@ function pts_run_test($test_identifier, $extra_arguments = "", $arguments_descri
{
$times_to_run = 3;
}
+ if(($force_runs = getenv("FORCE_TIMES_TO_RUN")) != false)
+ {
+ if($force_runs > $times_to_run)
+ {
+ $times_to_run = $force_runs;
+ }
+ }
if(!empty($test_type))
{