From 4ae06c7e3340e09ffe6b54dccd4faeb210330d7e Mon Sep 17 00:00:00 2001
From: Oz Linden <oz@lindenlab.com>
Date: Wed, 7 Aug 2013 18:03:16 -0400
Subject: [PATCH] add line number of recognizer to diff report

---
 scripts/gpu_table_tester | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/scripts/gpu_table_tester b/scripts/gpu_table_tester
index 339823246c..76994da1aa 100755
--- a/scripts/gpu_table_tester
+++ b/scripts/gpu_table_tester
@@ -201,16 +201,16 @@ $_, $Supported{$RecognizedBy{$_}},$Class{$RecognizedBy{$_}},$StatsBased{$Recogni
 my $ReportLineTemplate = "A102xxxA12xxxA2xxxxA2xxxxA5A*"; # MUST match the format STDOUT above
 
 format DIFF_TOP =
-                                                                                                         ------------- OLD -------------  ----------- NEW ---------------
-GPU String                                                                                               Supported?  Class Stats OpenGL   Supported?  Class Stats OpenGL
-------------------------------------------------------------------------------------------------------   ----------- ----- ----- ------   ----------- ----- ----- ------
+                                                                                                         ------------- OLD -------------  ----------- NEW --------------------
+GPU String                                                                                               Supported?  Class Stats OpenGL   Supported?  Class Stats OpenGL  Line
+------------------------------------------------------------------------------------------------------   ----------- ----- ----- ------   ----------- ----- ----- ------ -----
 .                                                                                                                                             
 
 my ( $oldSupported, $oldClass, $newSupported, $newClass );
 
 format DIFF =                                                                                                                                 
-@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<...   @<<<<<<<<<<   @>    @>  @<<<<    @<<<<<<<<<<    @>   @>  @<<<<  
-$_,                                                    $oldSupported, $oldClass, $oldStatsBased, $oldExpectedOpenGL, $newSupported, $newClass, $newStatsBased, $newExpectedOpenGL
+@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<...   @<<<<<<<<<<   @>    @>  @<<<<    @<<<<<<<<<<    @>   @>  @<<<<  @>>>>
+$_,                                    $oldSupported, $oldClass, $oldStatsBased, $oldExpectedOpenGL, $newSupported, $newClass, $newStatsBased, $newExpectedOpenGL, $newRecognizedLine
 .
 
 if ( ! $Diff )
@@ -255,6 +255,7 @@ else
         $newClass     = $Class{$RecognizedBy{$_}};
         $newStatsBased     = $StatsBased{$RecognizedBy{$_}};
         $newExpectedOpenGL = $ExpectedOpenGL{$RecognizedBy{$_}};
+        $newRecognizedLine = $RecognizerLine{$RecognizedBy{$_}};
 
         if ( ! defined $OldSupported{$_} )
         {
-- 
GitLab