summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions-run.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-19 13:31:13 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-19 13:31:13 -0500
commitcf2e5d60ee2b3378d4457143d2b6caacea0f0b33 (patch)
tree610705170dfc5fc4c02693afbaac643077a84599 /pts-core/functions/pts-functions-run.php
parent0552148d2942ead385c02c17f72b03236d0b7b4a (diff)
downloadphoronix-test-suite-upstream-cf2e5d60ee2b3378d4457143d2b6caacea0f0b33.tar.gz
phoronix-test-suite-upstream-cf2e5d60ee2b3378d4457143d2b6caacea0f0b33.tar.xz
phoronix-test-suite-upstream-cf2e5d60ee2b3378d4457143d2b6caacea0f0b33.zip
pts-core: Eliminate THIS_RUN_TIME constant and add preferred way of
using pts_unique_runtime_identifier()
Diffstat (limited to 'pts-core/functions/pts-functions-run.php')
-rw-r--r--pts-core/functions/pts-functions-run.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php
index 03e8d7b..fafc556 100644
--- a/pts-core/functions/pts-functions-run.php
+++ b/pts-core/functions/pts-functions-run.php
@@ -493,9 +493,11 @@ function pts_run_test($test_identifier, $extra_arguments = "", $arguments_descri
pts_user_message($pre_run_message);
+ $runtime_identifier = pts_unique_runtime_identifier();
+
for($i = 0; $i < $times_to_run; $i++)
{
- $benchmark_log_file = TEST_ENV_DIR . $test_identifier . "/" . $test_identifier . "-" . THIS_RUN_TIME . "-" . ($i + 1) . ".log";
+ $benchmark_log_file = TEST_ENV_DIR . $test_identifier . "/" . $test_identifier . "-" . $runtime_identifier . "-" . ($i + 1) . ".log";
$start_timer = TEST_LIBRARIES_DIR . "timer-start.sh";
$stop_timer = TEST_LIBRARIES_DIR . "timer-stop.sh";
$timed_kill = TEST_LIBRARIES_DIR . "timed-kill.sh";