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-install.php b/pts-core/functions/pts-functions-install.php
index 5d11d1d
..023b6f7 100644
--- a/pts-core/functions/pts-functions-install.php
+++ b/pts-core/functions/pts-functions-install.php
@@ -122,+122,19 @@ function pts_file_missing_check($file_arr)

     return 
$file_missing;
 }
+function 
pts_install_package_on_distribution($distribution)
+{
+    
$distribution strtolower($distribution);
+
+    
$install_objects = array();
+    
pts_recurse_install_benchmark($distribution$install_objects);
+
+    if(!empty(
$install_objects))
+    {
+        
$install_objects implode(" "$install_objects);
+        echo 
pts_exec("cd " MISC_LOCATION "distro-scripts/ && sh install-" strtolower(os_vendor()) . "-packages.sh $install_objects");
+    }
+}
 function 
pts_install_external_dependencies($Benchmark, &$INSTALL_OBJ)
 {
     if(
pts_benchmark_type($Benchmark) != "BENCHMARK")
diff --git a/pts-core/pts-run-cmd.php b/pts-core/pts-run-cmd.php
index ca0a854
..9a859c2 100644
--- a/pts-core/pts-run-cmd.php
+++ b/pts-core/pts-run-cmd.php
@@ -69,16 +69,@@ switch($COMMAND)

         require(
"pts-core/functions/pts-functions-install.php");

-        
$ARG_1 strtolower($ARG_1);
-
-        
$install_objects = array();
-        
pts_recurse_install_benchmark($ARG_1$install_objects);
-
-        if(!empty(
$install_objects))
-        {
-            
$install_objects implode(" "$install_objects);
-            echo 
pts_exec("cd " MISC_LOCATION "distro-scripts/ && sh install-" strtolower(os_vendor()) . "-packages.sh $install_objects");
-        }
+        
pts_install_package_on_distribution($ARG_1);
         break;
     case 
"REMOTE_COMPARISON":
         echo 
"Now Use merge-results for remote comparison with integrated Global ID support.";
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media