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.php b/pts-core/functions/pts-functions.php
index 5cd20b0
..f958d91 100644
--- a/pts-core/functions/pts-functions.php
+++ b/pts-core/functions/pts-functions.php
@@ -275,+275,@@ function pts_hw_string()
 }
 function 
pts_sw_string()
 {
-    
$sw_string "OS: " operating_system_release() . ", ";
+    
$sw_string "OS: " operating_system_release() . " (" kernel_arch() . "), ";
     
$sw_string .= "Kernel: " kernel_string() . " (" kernel_arch() . "), ";
     
$sw_string .= "X.Org Server: " graphics_subsystem_version() . ", ";
     
$sw_string .= "OpenGL: " opengl_version() . ", ";
@@ -
330,10 +330,@@ function pts_global_upload_result($result_file)

     return 
file_get_contents("http://www.phoronix-test-suite.com/global/user-upload.php?result_xml=$ToUpload&global_user=$GlobalUser&global_key=$Globalkey"); // Rudimentary, but works
 
}
-function 
operating_system_release()
-{
-    return 
os_vendor() . " " os_version();
-}
 function 
pts_trim_double($double$accuracy 2)
 {
     
// this function is to avoid using bcmath
diff --git a/pts-core/functions/pts-functions_linux.php b/pts-core/functions/pts-functions_linux.php
index 7ade688
..898a2af 100644
--- a/pts-core/functions/pts-functions_linux.php
+++ b/pts-core/functions/pts-functions_linux.php
@@ -256,+256,18 @@ function compiler_version()

     return 
$info;
 }
+function 
operating_system_release()
+{
+    
$vendor os_vendor();
+    
$version os_version();
+
+    if(
$vendor == "Unknown" && $version == "Unknown")
+        
$os "Unknown";
+    else
+        
$os $vendor " " $version;
+
+    return 
$os;
+}
 function 
opengl_version()
 {
     
$info shell_exec("glxinfo | grep version");
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media