summaryrefslogtreecommitdiffstats
path: root/pts-core
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-20 15:11:59 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-20 15:11:59 -0400
commit8326d2c9a05a7c630f09bae6ca5197b651dadd79 (patch)
tree119cce8f96d9d30b806169fafcf7bc80c28bdce7 /pts-core
parent44b087182897ffbf491353f75ccdd2471fabd349 (diff)
downloadphoronix-test-suite-upstream-8326d2c9a05a7c630f09bae6ca5197b651dadd79.tar.gz
phoronix-test-suite-upstream-8326d2c9a05a7c630f09bae6ca5197b651dadd79.tar.xz
phoronix-test-suite-upstream-8326d2c9a05a7c630f09bae6ca5197b651dadd79.zip
pts-core: Improve input when using custom values for a test option
Diffstat (limited to 'pts-core')
-rw-r--r--pts-core/pts-run-test.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/pts-core/pts-run-test.php b/pts-core/pts-run-test.php
index 6a602d4..ad6f872 100644
--- a/pts-core/pts-run-test.php
+++ b/pts-core/pts-run-test.php
@@ -219,7 +219,15 @@ if($TO_RUN_TYPE == "TEST")
}
else
{
- echo "\nEnter Value: ";
+ if(!$test_title_shown)
+ {
+ echo pts_string_header("Test Configuration: " . $test_title);
+ $test_title_shown = true;
+ }
+ else
+ echo "\n";
+
+ echo $settings_name[$option_count] . "\n" . "Enter Value: ";
$value = strtolower(trim(fgets(STDIN)));
$USER_ARGS .= $settings_argument[$option_count] . $value;
}