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/pts-core/objects/pts_test_result_parser.php b/pts-core/objects/pts_test_result_parser.php
index 2ad8883
..c8c6a8d 100644
--- a/pts-core/objects/pts_test_result_parser.php
+++ b/pts-core/objects/pts_test_result_parser.php
@@ -3,+3,@@
 
/*
     Phoronix Test Suite
     URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
-    Copyright (C) 2010 - 2011, Phoronix Media
-    Copyright (C) 2010 - 2011, Michael Larabel
+    Copyright (C) 2010 - 2012, Phoronix Media
+    Copyright (C) 2010 - 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
@@ -454,7 +454,7 @@ class pts_test_result_parser
                 // Look for an element that partially matches, if like a '.' or '/sec' or some other pre/post-fix is present
                 foreach($result_template_r as $i => $r_check)
                 {
-                    if(strpos($check, $result_key[$i]) !== false)
+                    if(isset($result_key[$i]) && strpos($r_check, $result_key[$i]) !== false)
                     {
                         $result_template_r_pos = $i;
                      &nbs
 
Phoronix.com
Linux Driver Forums
Copyright © 2013 by Phoronix Media