projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Wed 2/3/10 13:04
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:38
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:27
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 9:26
Michael Larabel  
pts: Drop MD5 hashes in... 
Tue 2/2/10 23:43
Michael Larabel  
phoromatic: Add... 
Tue 2/2/10 23:35
Michael Larabel  
pts-core: Phoromatic... 
 
> --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,+130,@@ 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,+158,@@ 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,+92,@@ 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,+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;
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media