Summary
Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04
Recent Commits
>
--git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php
index 38e8860..5136482 100644
--- a/pts-core/functions/pts-functions-run.php
+++ b/pts-core/functions/pts-functions-run.php
@@ -130,7 +130,7 @@ function pts_run_benchmark($benchmark_identifier, $extra_arguments = "", $argume
if(is_file(BENCHMARK_RESOURCE_LOCATION . $benchmark_identifier . "/pre.sh"))
{
- echo "\n=================================\nExecuting Pre-Benchmark Tasks\n=================================\n";
+ //echo "\n=================================\nExecuting Pre-Benchmark Tasks\n=================================\n";
echo shell_exec("sh " . BENCHMARK_RESOURCE_LOCATION . $benchmark_identifier . "/pre.sh " . BENCHMARK_ENVIRONMENT . "$benchmark_identifier");
}
@@ -158,7 +158,7 @@ function pts_run_benchmark($benchmark_identifier, $extra_arguments = "", $argume
if(is_file(BENCHMARK_RESOURCE_LOCATION . $benchmark_identifier . "/post.sh"))
{
- echo "\n=================================\nExecuting Post-Benchmark Tasks\n=================================\n";
+ //echo "\n=================================\nExecuting Post-Benchmark Tasks\n=================================\n";
echo pts_exec("sh " . BENCHMARK_RESOURCE_LOCATION . $benchmark_identifier . "/post.sh " . BENCHMARK_ENVIRONMENT . "$benchmark_identifier");
}
diff --git a/pts-core/pts-run-cmd.php b/pts-core/pts-run-cmd.php
index 8ff6b7f..ef01e83 100644
--- a/pts-core/pts-run-cmd.php
+++ b/pts-core/pts-run-cmd.php
@@ -92,7 +92,7 @@ switch($COMMAND)
$license = $xml_parser->getXMLValue("PTSBenchmark/PhoronixTestSuite/License");
$status = $xml_parser->getXMLValue("PTSBenchmark/PhoronixTestSuite/Status");
- printf("%-20ls - %-30ls [Status: %s, License: %s]\n", $identifier, $name, $status, $license);
+ printf("%-18ls - %-30ls [Status: %s, License: %s]\n", $identifier, $name, $status, $license);
}
echo "\n";
break;
@@ -105,9 +105,10 @@ switch($COMMAND)
{
$xml_parser = new tandem_XmlReader(file_get_contents($benchmark_file));
$name = $xml_parser->getXMLValue("PTSuite/PhoronixTestSuite/Title");
+ $benchmark_type = $xml_parser->getXMLValue("PTSuite/PhoronixTestSuite/BenchmarkType");
$identifier = basename($benchmark_file, ".xml");
- echo "- $name ($identifier)\n";
+ printf("%-16ls - %-32ls [Benchmark Type: %s]\n", $identifier, $name, $benchmark_type);
}
echo "\n";
break;
<
Copyright © 2010 by Phoronix Media