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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 9/23/14 11:49

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Tue 9/23/14 11:49
Michael Larabel  
pts-core: Couple small... 
Mon 9/22/14 16:14
Michael Larabel  
pts-core: Missing file... 
Mon 9/22/14 15:24
Michael Larabel  
Bump PTS_CORE_VERSION... 
Mon 9/22/14 15:02
Michael Larabel  
pts-core: Allow Phoronix... 
Mon 9/22/14 13:23
Michael Larabel  
pts-core: Convert to a... 
Mon 9/22/14 10:15
Michael Larabel  
pts-core: Add "failed to... 
 
> --git a/CHANGE-LOG b/CHANGE-LOG
index 936befc
..4cd78f4 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -1,+1,@@
 
PHORONIX TEST SUITE CHANGE-LOG

+Phoronix Test Suite (Git)
+
+- 
pts-coreImprovement for detecting errors from failed test installations
+
 
Phoronix Test Suite 4.4 Milestone 1
 23 January 2013

diff 
--git a/pts-core/objects/client/pts_test_installer.php b/pts-core/objects/client/pts_test_installer.php
index bcaf6a6
..df8efbb 100644
--- a/pts-core/objects/client/pts_test_installer.php
+++ b/pts-core/objects/client/pts_test_installer.php
@@ -145,+145,@@ class pts_test_installer
                 
// If many tests are being installed, show the error messages reported in order to reduce scrolling...
                 
if($install_request->install_error && isset($failed_installs[5]))
                 {
-                    echo 
'   [' $install_request->install_error ']' PHP_EOL;
+                    echo 
'    [' $install_request->install_error ']' PHP_EOL;
                 }
             }
         }
@@ -
717,+717,17 @@ class pts_test_installer

                                 
}
                             }
+
+                            if(
$install_error == null && ($s strrpos($install_logPHP_EOL)) !== false && stripos($install_log'found'$s) !== false && stripos($install_log'no', ($s 1)) !== false)
+                            {
+                                
// See if the last line of the log is e.g. 'No OpenCL Environment Found', 'FFFFF Not Found', Etc
+                                $last_line trim(substr($install_log$s));
+                                if(isset(
$last_line[8]) && !isset($last_line[144]))
+                                {
+                                    
$install_error $last_line;
+                                }
+                            }
+
                             
copy($test_install_directory 'install.log'$test_install_directory 'install-failed.log');
                         }

<
 
Phoronix.com
Linux Driver Forums
Copyright © 2014 by Phoronix Media