summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-08-07 18:03:16 -0400
committerOz Linden <oz@lindenlab.com>2013-08-07 18:03:16 -0400
commit4ae06c7e3340e09ffe6b54dccd4faeb210330d7e (patch)
treebf1389a9ce6dd714bcdad28eb694e0ff5b814c95 /scripts
parent32b141931788862b310d1a7bf7bc5adfd43bde83 (diff)
add line number of recognizer to diff report
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gpu_table_tester11
1 files 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{$_} )
{