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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 5/17/13 22:52

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 5/17/13 22:52
Michael Larabel  
phodevi: Report CPU... 
Wed 5/15/13 21:50
Michael Larabel  
Phoronix Test Suite... 
Wed 5/15/13 21:39
Michael Larabel  
pts-core: DragonFlyBSD... 
Wed 5/15/13 15:47
Michael Larabel  
pts-core: Updates from... 
Wed 5/15/13 15:43
Michael Larabel  
 
Sat 5/11/13 13:55
Michael Larabel  
pts-core: Fix for... 
 
> --git a/CHANGE-LOG b/CHANGE-LOG
index bc35f02
..4210f8b 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -3,+3,@@ PHORONIX TEST SUITE CHANGE-LOG
 Phoronix Test Suite 
(Git)

 - 
pts-coreBetter recognize some open-source vsclosed-source graphics card/driver combination comparisons
+- pts-coreFix potential crash in list-test-usage command
 
pts_GraphFix rounding issue on pts tables that are very wide

 Phoronix Test Suite 4.0 Milestone 1
diff 
--git a/pts-core/commands/list_test_usage.php b/pts-core/commands/list_test_usage.php
index ac43662
..149d24c 100644
--- a/pts-core/commands/list_test_usage.php
+++ b/pts-core/commands/list_test_usage.php
@@ -3,+3,@@
 
/*
     Phoronix Test Suite
     URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
-    Copyright (C) 2008 - 2011, Phoronix Media
-    Copyright (C) 2008 - 2011, Michael Larabel
+    Copyright (C) 2008 - 2012, Phoronix Media
+    Copyright (C) 2008 - 2012, Michael Larabel

     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ class list_test_usage implements pts_option_interface
             {
                 $test_profile = new pts_test_profile($identifier);

-                if($test_profile != false && $test_profile->test_installation->get_installed_version() != null)
+                if($test_profile && $test_profile->test_installation && $test_profile->test_installation->get_installed_version() != null)
                 {
                     $avg_time = $test_profile->test_installation->get_average_run_time();
                     $avg_time = !empty($avg_time) ? pts_strings::format_time($avg_time, 'SECONDS', false) : 'N/A';
diff --git a/pts-core/objects/pts_Graph/pts_Graph.php b/pts-core/objects/pts_Graph/pts_Graph.php
index e4bb825..f26fb86 100644
--- a/pts-core/objects/pts_Graph/pts_Graph.php
+++ b/pts-core/objects/pts_Graph/pts_Graph.php
@@ -846,7 +846,7 @@ abstract class pts_Graph
             }
             $note_height += self::$c['size']['key'];
         }
-        $note_height += (count(array_unique($sections)) * (self::$c['size']['key'] + 6));
+        $note_height += ((count(array_unique($sections)) + 1) * (self::$c['size']['key'] + 6));

         return $note_height;
  
 
Phoronix.com
Linux Driver Forums
Copyright © 2013 by Phoronix Media