deprecated/buildtools/buildsystemtools/scanlog/Scanlog.pm
author Zheng Shen <zheng.shen@nokia.com>
Wed, 27 Oct 2010 19:35:19 +0800
changeset 664 44b0e894b7ab
parent 655 3f65fd25dfd4
permissions -rw-r--r--
Merge again
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
655
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     1
# Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     2
# All rights reserved.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     3
# This component and the accompanying materials are made available
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     4
# under the terms of "Eclipse Public License v1.0"
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     5
# which accompanies this distribution, and is available
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     7
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     8
# Initial Contributors:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     9
# Nokia Corporation - initial contribution.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    10
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    11
# Contributors:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    12
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    13
# Description:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    14
# summarise an automated build log
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    15
# documentation available in generic\tools\e32toolp\docs\scanlog.txt
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    16
# please update the documentation when modifying this file
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    17
# 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    18
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    19
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    20
package Scanlog;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    21
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    22
use strict;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    23
use Carp;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    24
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    25
# CheckForErrors
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    26
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    27
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    28
# $line - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    29
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    30
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    31
# Return true for presence of error in the line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    32
# Return false for no error found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    33
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    34
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    35
# This function matches the input against a known set of Error Strings
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    36
sub CheckForErrors
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    37
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    38
  my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    39
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    40
	# FLEXlm license server errors
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    41
	if ($line =~ /FLEXlm error:/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    42
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    43
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    44
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    45
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    46
	# BLDMAKE ERROR: Can't find "\INTERNET\GROUP\BLD.INF"
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    47
	# ABLD ERROR: Project Bldmake directory "\EPOC32\BUILD\APP-FRAMEWORK\UIKLAF\GROUP\" does not exist
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    48
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    49
	if ($line =~ /(ABLD|BLDMAKE) ERROR:/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    50
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    51
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    52
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    53
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    54
	# "\WAPENG\GROUP\BLD.INF" FATAL ERROR(S):
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    55
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    56
	if ($line =~ /FATAL ERROR\(S\):/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    57
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    58
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    59
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    60
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    61
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    62
	# NMAKE : fatal error U1077: 'C:\apps\DevStudio\VC\BIN\NMAKE.EXE' : return code '0x2'
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    63
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    64
	if ($line =~ /fatal error U1077/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    65
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    66
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    67
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    68
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    69
	# match all falal error
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    70
	if ($line =~ /^fatal error/i)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    71
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    72
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    73
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    74
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    75
	# NMAKE : warning U4010: 'FINALCOPYFXCM' : build failed; /K specified, continuing ...
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    76
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    77
	if ($line =~ /warning U4010/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    78
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    79
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    80
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    81
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    82
	# make: *** [SAVESPACECONVTOOL] Error 2
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    83
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    84
	if ($line =~ /make(\.exe)?(\[\d+\])?: \*\*\* /)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    85
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    86
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    87
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    88
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    89
	# make: Target `SAVESPACE' not remade because of errors.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    90
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    91
	if ($line =~ /make(\.exe)?(\[\d+\])?: .* not remade /)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    92
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    93
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    94
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    95
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    96
	# "..\UCRT\Ecrt0.cpp", line 24: Error:  #390: function "main" may not be called or have its address taken
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    97
	# "EUSER\\epoc\\arm\\Uc_i64.cia", line 16: Error: A1356W: Instruction not supported on targeted CPU
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    98
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    99
	if ($line =~ /"(.*)", line (\d+): (Error: +(.\d+.*?):.*)$/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   100
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   101
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   102
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   103
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   104
	# Fatal error: Internal fault: 0x5c6e (200322) in _ZN17CContactLocalView20HandleDatabaseEventLE23TContactDbObserverEvent
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   105
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   106
	if ($line =~ /error: ((Internal fault):.*)$/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   107
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   108
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   109
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   110
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   111
	# Exception: STATUS_ACCESS_VIOLATION
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   112
	# networkPrim.c
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   113
  #    0 [main] make 2020 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   114
  #  265 [main] make 2020 open_stackdumpfile: Dumping stack trace to make.exe.stackdump
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   115
	if ($line =~ /Exception: STATUS_ACCESS_VIOLATION/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   116
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   117
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   118
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   119
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   120
	# MSGBROWSER.WINSCW:3233: target `\EPOC32\RELEASE\WINSCW\UDEB\Z\System\Data' given more than once in the same rule.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   121
	if ($line =~ /target .* given more than once in the same rule/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   122
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   123
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   124
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   125
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   126
	# ERROR: <anything>
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   127
	if ($line =~ /^ERROR: /m)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   128
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   129
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   130
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   131
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   132
	# ERROR (for CDB errors)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   133
	if ($line =~ /^ERROR\t/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   134
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   135
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   136
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   137
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   138
	# elf2e32 : Error: E1035: Undefined Symbol blah blah blah
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   139
	# elf2e32 : Error: E1036: Symbol blah blah blah
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   140
	if ($line =~ /^\s*elf2e32\s*:\s*Error\s*:\s*/i)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   141
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   142
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   143
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   144
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   145
	# Not already returned so return false
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   146
	return 0;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   147
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   148
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   149
# CheckForRemarks
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   150
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   151
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   152
# $iLine - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   153
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   154
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   155
# Return true for presence of Warning in the line according to the warning codes
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   156
# defined in the checkList array
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   157
# The list is the current known EABI warnings which are considered to be 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   158
# Remarks
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   159
# Return false for no Warning found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   160
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   161
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   162
# This function matches the input against a known set of Warning Strings defined
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   163
# in the array CheckList
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   164
my %RVCT_checklist=(
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   165
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   166
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   167
# Warnings to be fixed if deemed safe
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   168
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   169
 "#111-D" => "statement is unreachable",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   170
 "#186-D" => "pointless comparison of unsigned integer with zero",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   171
 "#236-D" => "controlling expression is constant",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   172
 "#494-D" => "declaring a void parameter list with a typedef is nonstandard",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   173
 "C2874W" => "xxx may be used before set",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   174
 "C3017W" => "xxx may be used before set",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   175
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   176
# Warnings not required to be fixed, too risky
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   177
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   178
 "#1293-D" => "assignment in condition",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   179
 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   180
# Warnings not required to be fixed, too big a workload
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   181
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   182
 "#177-D" => "variable abc was declared but never referenced",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   183
 "#550-D" => "variable xxx was set but never used",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   184
 "#830-D" => "function \"XXX::operator new(xyz)\" has no corresponding operator delete (to be called if an exception is thrown during initialization of an allocated object)",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   185
 "L6331W" => "No eligible global symbol matches pattern _ll_cmpeq.",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   186
 );
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   187
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   188
sub CheckForRemarks
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   189
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   190
    my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   191
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   192
    # "..\UCRT\Ecrt0.cpp", line 12: Warning:  #335-D: linkage specification is not allowed
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   193
    # "s16c.o(.directive)", line 70: Warning: L6331W: s16c.o(.directive)(line 70, col 14) No eligible global symbol matches pattern _fsqrt.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   194
    if ($line =~ /".*", line \d+: Warning: +(.\d+.*?):/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   195
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   196
	    # Some compiler warnings about about style rather than substance. The RVCT
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   197
	    # compiler warnings are easily identified, and the RVCT_checklist above
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   198
	    # classifies the warnings present in the Symbian OS source code which are
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   199
	    # not currently considered to be violations of the "zero warnings" policy.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   200
	    # It is the responsibility of the Master Codeline Forum to manage this list,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   201
	    # as part of the "zero warnings" policy.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   202
		return defined($RVCT_checklist{$1});
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   203
    }
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   204
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   205
	# Command line warning D4025 : overriding '/O1' with '/Od'
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   206
    if ($line =~ /Command line warning D4025 : /)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   207
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   208
    	# This could be fixed by more subtle code in cl_win.pm
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   209
    	# which avoids putting both /O1 and /Od on the command line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   210
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   211
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   212
			
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   213
	# REMARK:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   214
    if( $line =~ /^REMARK: /m)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   215
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   216
        return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   217
    }
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   218
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   219
	# Windows Event log warning from GNU Make - Treat as remark for the time being.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   220
	if ($line =~ /^EventType:\s+Error\s+Source:\s+GNU\s+Make/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   221
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   222
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   223
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   224
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   225
  # This is used convert what would be picked up as warning in to a remark, as remarks are check for first
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   226
	# It also returns an additional value of the number of lines to slurp up to get the so the multi line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   227
	# warning (remark) is only seen once.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   228
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   229
	# ..\SETEL\ET_PHONE.CPP:19: warning: cannot find matching deallocation function 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   230
  # ..\SETEL\ET_PHONE.CPP:19: warning: for 'CReqEntry'
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   231
	if ($line =~ /:\d+: warning: cannot find matching deallocation function/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   232
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   233
		return 1,1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   234
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   235
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   236
	# fix to get scanlog catch the output of #pragma message (...) as a remark
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   237
	#Codewarrior 3.0 doesn't output line number for #pragma message, whereas 3.1.1 outputs line number.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   238
	#The regexp below matches both the cases
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   239
    if( $line =~ /((:\d+)*: note: )/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   240
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   241
        return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   242
    }
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   243
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   244
	# getrel failed.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   245
	# Error: testtools_stat_desktop DP00391_DeveloperProduct not found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   246
	if( $line =~ /^Error:.+not found/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   247
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   248
        return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   249
    }
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   250
	# Not already returned so return false
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   251
    return 0;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   252
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   253
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   254
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   255
# CheckForWarnings
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   256
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   257
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   258
# $iLine - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   259
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   260
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   261
# Return true for presence of Warning in the line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   262
# Return false for no Warning found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   263
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   264
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   265
# This function matches the input against a known set of Warning Strings
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   266
sub CheckForWarnings
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   267
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   268
  my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   269
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   270
	# linkfouraif.rss(25) : Warning: (047) the STRUCT that this resource is based on contains a
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   271
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   272
	if ($line =~ /\\\\(.*?)\(\d+\)\s:\sWarning:\s\(\d+\)/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   273
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   274
	{               
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   275
              
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   276
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   277
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   278
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   279
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   280
	# RCOMP Warning: Unmatched enum name used as simple initialiser
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   281
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   282
	if ($line =~ /Warning: Unmatched/i)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   283
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   284
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   285
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   286
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   287
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   288
	# BLDMAKE WARNING: read-only ABLD.BAT will be overwritten
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   289
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   290
	if ($line =~ /^BLDMAKE WARNING:/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   291
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   292
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   293
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   294
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   295
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   296
	# \FORM\GROUP\BLD.INF WARNING(S):
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   297
	# \FORM\GROUP\BLD.INF(28) : Exported source file \form\group\tagma.rtf not found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   298
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   299
	if ($line =~ /WARNING\(S\)/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   300
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   301
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   302
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   303
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   304
	# WARNING: Can't find following headers in User or System Include Paths
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   305
	# WARNING: Frozen .DEF file \CSTUBSHELL\BMARM\STUBRUNU.DEF not found - project not frozen
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   306
	# WARNING: Not attempting to create any import libraries.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   307
	# WARNING: rls_string STRING_r_ssl_error_ssl_AlertNoRenegotiation; either has incorrect syntax or no value
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   308
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   309
	if ($line =~ /^WARNING: /m)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   310
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   311
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   312
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   313
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   314
	# \BIOMSG\BITSINC\BioTestUtils.inl(4) : warning C4100: 'iOperation' : unreferenced formal parameter
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   315
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   316
	if ($line =~ /\(\d+\) : warning C/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   317
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   318
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   319
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   320
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   321
	# LINK : warning LNK4005: no objects used from library \EPOC32\RELEASE\WINS\UDEB\ESTOR.LIB
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   322
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   323
	if ($line =~ /LINK : warning/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   324
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   325
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   326
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   327
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   328
	# ..\\..\\BAFL\\SRC\\Bacline.cpp:68: warning: value computed is not used
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   329
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   330
	if ($line =~ /:\d+: warning:/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   331
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   332
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   333
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   334
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   335
	# "..\UCRT\Ecrt0.cpp", line 12: Warning:  #335-D: linkage specification is not allowed
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   336
	# "s16c.o(.directive)", line 70: Warning: L6331W: s16c.o(.directive)(line 70, col 14) No eligible global symbol matches pattern _fsqrt.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   337
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   338
	if ($line =~ /"(.*)", line (\d+): (Warning: +(.\d+.*?):.*)$/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   339
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   340
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   341
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   342
		
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   343
	# /../../kvm/VmEPOC/src/emuNetDebuggerTransport.c
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   344
	# ### mwccsym2 Usage Warning:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   345
	# #   Specified directory 'Z:/epoc32/include/libcnot' not found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   346
	# ... t_winscw_udeb_cw_obj_g/serialDebuggerTransport.o
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   347
	# Linking lib ... winscw_udeb_cw_bin/tkmidp20_kvm.lib 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   348
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   349
	if ($line =~ /Usage Warning:/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   350
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   351
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   352
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   353
	# mwld.exe: No symbols were exported
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   354
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   355
	if ($line =~ /mwld.exe:/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   356
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   357
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   358
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   359
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   360
	# === target == tools\e32tools
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   361
  #	make -r  -k -f "\EPOC32\BUILD\TOOLS\E32TOOLS\GROUP\TOOLS.make" SAVESPACE CFG=REL VERBOSE=-s KEEPGOING=-k
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   362
	#		nmake -nologo -x - -s -k -f "\EPOC32\BUILD\TOOLS\E32TOOLS\GROUP\ERUNTEST\TOOLS\ERUNTEST.TOOLS" REL CLEANBUILDREL
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   363
	# Command line warning D4002 : ignoring unknown option '/Op'
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   364
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   365
	if ($line =~ /^Command line warning/m)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   366
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   367
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   368
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   369
		
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   370
	# MAKEDEF WARNING: 1 export(s) not yet Frozen:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   371
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   372
	if ($line =~ /^MAKEDEF WARNING:/m)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   373
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   374
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   375
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   376
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   377
	# Comment from PETRAN which is actually a warning rather than an error
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   378
	# ERROR: bad relocation:  [00004f60] = 00000f68
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   379
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   380
	if ($line =~ /ERROR: bad relocation:/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   381
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   382
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   383
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   384
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   385
	# 1 warning
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   386
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   387
	if ($line =~ /^(\d+) warning/m)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   388
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   389
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   390
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   391
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   392
	# Windows Event log warning from Sophos Antivirus Scan
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   393
	if ($line =~ /^EventType:\s+Error\s+Source:\s+SweepNT/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   394
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   395
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   396
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   397
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   398
        # WARN (for CDB warnings)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   399
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   400
	if ($line =~ /^WARN\t/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   401
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   402
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   403
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   404
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   405
	#elf2e32 : Warning: W1041: Unsupported Target Type 'PLUGIN3'.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   406
        #Elf2e32: Warning: New Symbol _Z24ImplementationGroupProxyRi found, export(s) not yet Frozen
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   407
	if ($line =~ /^\s*elf2e32\s*:\s*Warning\s*:\s*/i)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   408
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   409
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   410
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   411
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   412
	#Can't locate FileRead.pm in @INC (@INC contains:.......
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   413
	if ($line =~ /^Can't locate (.*) in \@INC/ )
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   414
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   415
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   416
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   417
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   418
	# Not already returned so return false
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   419
	return 0;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   420
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   421
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   422
# CheckForIgnore
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   423
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   424
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   425
# $iLine - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   426
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   427
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   428
# Return true if line can be ignored
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   429
# Return false if line cannot be ignored
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   430
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   431
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   432
# This function matches the input against a known set of Warning Strings which can be ignored
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   433
sub CheckForIgnore
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   434
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   435
	my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   436
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   437
	# "..\\..\\..\\E32\\nkern\\arm\\Ncsched.cia", line 617: Warning: A1495E: Target of branch is a data address
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   438
	if ($line =~ /"(.*)", line (\d+): Warning: A1495E: Target of branch is a data address/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   439
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   440
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   441
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   442
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   443
	# BLDMAKE WARNING: ARMV7 requires at least RVCT 3.1.674.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   444
	# It's not useful to heed this warning, as we're already on control of which platforms we're going to build
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   445
	if ($line =~ /^BLDMAKE WARNING: ARMV\d requires at least RVCT /)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   446
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   447
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   448
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   449
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   450
	# Not already returned so return false
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   451
	return 0;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   452
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   453
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   454
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   455
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   456
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   457
# CheckForNotBuilt
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   458
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   459
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   460
# $iLine - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   461
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   462
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   463
# Return true for presence of Warning in the line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   464
# Return false for no Warning found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   465
# $iNotBuilt - Name of thing not built
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   466
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   467
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   468
# This function matches the input against a known set of Strings for things not built
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   469
sub CheckForNotBuilt
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   470
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   471
  my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   472
  
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   473
  # MISSING COMPONENT alp2csh: can't find tools\sdk_eng\alp2csh\group\bld.inf
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   474
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   475
	if ($line =~ /^MISSING COMPONENT (.*):.* find (.*)$/m)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   476
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   477
		return (1,$2);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   478
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   479
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   480
	# MISSING: \EPOC32\RELEASE\WINS\UDEB\OPLR.DLL
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   481
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   482
	if ($line =~ /^MISSING: (\S+)/m)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   483
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   484
		return (1,$1);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   485
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   486
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   487
	# Not already returned so return false
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   488
	return 0;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   489
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   490
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   491
# CheckForMissing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   492
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   493
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   494
# $iLine - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   495
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   496
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   497
# Return true for presence of Warning in the line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   498
# Return false for no Warning found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   499
# $iNotBuilt - Name of thing not built
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   500
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   501
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   502
# This function matches the input against a known set of Strings for things not built
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   503
sub CheckForMissing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   504
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   505
  my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   506
  
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   507
	if ($line =~ /fatal error U1073: .* make '(.*)'/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   508
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   509
		return (1,$1);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   510
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   511
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   512
	# Not already returned so return false
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   513
	return 0;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   514
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   515
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   516
# CheckForRealTimeErrors
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   517
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   518
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   519
# $iLine - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   520
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   521
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   522
# Return true for presence of a Real Time Error in the line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   523
#        plus string detailing error (if available)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   524
# Return false for no Real Time Error found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   525
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   526
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   527
# This function matches the input against a known set of Error Strings
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   528
# At the time of adding this subroutine, such error strings were only reported by P4GetSource.pm
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   529
# Scripts calling this subroutine should note that, for example, lines beginning with "ERROR:" will
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   530
# also be considered to be errors by subroutine CheckForErrors, above. 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   531
sub CheckForRealTimeErrors
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   532
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   533
  my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   534
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   535
	if ($line =~ /^Error:\s*RealTimeBuild:\s*(.*)/mi)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   536
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   537
		return (1,$1);  # Return True plus any other text on line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   538
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   539
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   540
	# Not already returned so return False
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   541
	return 0;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   542
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   543
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   544
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   545
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   546
# CheckForMigrationNotes
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   547
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   548
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   549
# $iLine - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   550
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   551
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   552
# Return true for presence of Migration_Note in the line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   553
# Return false for no Migration_Note found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   554
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   555
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   556
# This function matches the input against a known set of Migration_Note Strings
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   557
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   558
my %migration_list=(
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   559
# Warnings to be fixed over longer period as they may indicate errors in code
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   560
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   561
 "#61-D" => "integer operation result is out of range",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   562
 "#68-D" => "integer conversion resulted in a change of sign",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   563
 "#108-D" => "signed bit field of length 1",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   564
 "#128-D" => "loop is not reachable from preceding code",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   565
 "#191-D" => "type qualifier is meaningless on cast type",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   566
 "A1495E" => "Target of branch is a data address",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   567
 "A1608W" => "MOV pc,<rn> instruction used, but BX <rn> is preferred",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   568
 "A1745W" => "This register combination is DEPRECATED",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   569
 "A1764W" => "SWP instructions are deprecated in architecture ARMv6 and above",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   570
 "A1786W" => "This instruction using SP is deprecated in ARMv7",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   571
 "A1788W" => "Explicit use of PC in this instruction is deprecated",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   572
 "#1446-D" => "non-POD class type passed through ellipsis",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   573
 "#1559-D" => "dllexport/dllimport conflict with \"foo\"; dllexport assumed",
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   574
 "#1566-D" => "dllexport/dllimport conflict with \"foo\"; dllimport/dllexport dropped"
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   575
  );
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   576
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   577
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   578
sub CheckForMigrationNotes
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   579
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   580
  my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   581
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   582
if ($line =~ /".*", line \d+: Warning: +(.\d+.*?):/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   583
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   584
    # Some compiler warnings may indicate errors that should be fixed when a
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   585
    # migration to a new compiler has occured. These may have been long standing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   586
    # issues in the OS and whilst not currently considered to be violations of the
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   587
    #"zero warnings" policy should be fixed in any new development work.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   588
    # It is the responsibility of the Master Codeline Forum to manage this list.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   589
    return defined($migration_list{$1});
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   590
    }
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   591
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   592
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   593
if ($line =~ m/^MIGRATION_NOTE:\s*(.*)/i)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   594
  {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   595
  return (1,$1);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   596
  }
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   597
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   598
if ($line =~ m/^WARNING: Working Directory: "(.*)\\sf\\app\\techview\\buildverification\\smoketest\\(.*)"	Executing: "abld.bat (.*)":/i)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   599
  {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   600
  return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   601
  }
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   602
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   603
return 0;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   604
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   605
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   606
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   607
# CheckForAdvisoryNotes
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   608
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   609
# Inputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   610
# $iLine - Line of text to check
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   611
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   612
# Outputs
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   613
# Return true if the input matches against a known set of Advisory_Note strings defined in the advisory_list
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   614
# Return false for no Advisory_Note found
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   615
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   616
# Description
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   617
# This function matches the input against a known set of Advisory_Note Strings defined
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   618
# in the array CheckList
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   619
my %Advisory_checklist=(
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   620
# Warnings categorized as advisory notes
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   621
'M:/clean-src/os/unref/orphan/comtv\\toolkit ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   622
'M:/clean-src/os/unref/orphan/comtv\\commsui ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   623
'M:/clean-src/os/unref/orphan/comtv\\apps ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   624
'M:/clean-src/os/unref/orphan/comtt/edg\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   625
'M:/clean-src/os/unref/orphan/comtt\\edg ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   626
'M:/clean-src/os/unref/orphan/comgen/openenv/oetools/docs\\test ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   627
'M:/clean-src/os/unref/orphan/comgen\\networking ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   628
'M:/clean-src/os/unref/orphan/cedprd/tools\\baseline ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   629
'M:/clean-src/os/unref/orphan/cedprd\\tools ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   630
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/XSRproduct\\pkgdef ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   631
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/XSRproduct\\Messages ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   632
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/XSRproduct\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   633
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/XSRproduct/com/symbian/sdk/productinstaller\\graphics ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   634
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/Wi-Fiproduct\\pkgdef ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   635
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/Wi-Fiproduct\\Messages ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   636
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/Wi-Fiproduct\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   637
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/Wi-Fiproduct/com/symbian/sdk/productinstaller\\graphics ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   638
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/sdcard4cproduct\\pkgdef ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   639
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/sdcard4cproduct\\Messages ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   640
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/sdcard4cproduct\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   641
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/sdcard4cproduct/com/symbian/sdk/productinstaller\\graphics ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   642
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/sdcard3cproduct\\pkgdef ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   643
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/sdcard3cproduct\\Messages ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   644
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/sdcard3cproduct\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   645
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/sdcard3cproduct/com/symbian/sdk/productinstaller\\graphics ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   646
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/midp2.0product\\pkgdef ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   647
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/midp2.0product\\Messages ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   648
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/midp2.0product\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   649
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/midp2.0product/com/symbian/sdk/productinstaller\\graphics ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   650
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/javaproduct\\pkgdef ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   651
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/javaproduct\\Messages ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   652
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/javaproduct\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   653
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/javaproduct/com/symbian/sdk/productinstaller\\graphics ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   654
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/cldchiproduct\\pkgdef ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   655
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/cldchiproduct\\Messages ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   656
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/cldchiproduct\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   657
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/cldchiproduct/com/symbian/sdk/productinstaller\\graphics ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   658
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/cldchi1.1product\\pkgdef ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   659
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/cldchi1.1product\\Messages ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   660
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/cldchi1.1product\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   661
'M:/clean-src/os/unref/orphan/cedprd/SuppKit/cldchi1.1product/com/symbian/sdk/productinstaller\\graphics ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   662
'M:/clean-src/os/unref/orphan/cedprd/DevKit\\SourceDefinitions ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   663
'M:/clean-src/os/unref/orphan/cedprd/DevKit\\PackageDefinitions ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   664
'M:/clean-src/os/unref/orphan/cedprd\\DevKit ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   665
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT09_Test\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   666
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT09_Test\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   667
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT09_Test\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   668
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT08_Prototype\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   669
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT08_Prototype\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   670
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT08_Prototype\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   671
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT07_Deprecated\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   672
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT07_Deprecated\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   673
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT07_Deprecated\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   674
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT06_Released\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   675
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT06_Released\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   676
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT06_Released\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   677
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT05_PubAll\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   678
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT05_PubAll\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   679
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT05_PubAll\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   680
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT04_PubPartner\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   681
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT04_PubPartner\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   682
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT04_PubPartner\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   683
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT03_IntComp\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   684
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT03_IntComp\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   685
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT03_IntComp\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   686
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT02_IntTech\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   687
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT02_IntTech\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   688
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT02_IntTech\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   689
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT01_NoAPIs\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   690
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT01_NoAPIs\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   691
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/UnitTests/PCT01_NoAPIs\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   692
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/IntegrationTests/PCT10_Integration\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   693
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/IntegrationTests/PCT10_Integration\\results ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   694
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/IntegrationTests/PCT10_Integration\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   695
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T25_All_Test\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   696
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T25_All_Test\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   697
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T24_All_Prototype\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   698
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T24_All_Prototype\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   699
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T23_All_Deprecated\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   700
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T23_All_Deprecated\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   701
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T22_All_Released\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   702
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T22_All_Released\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   703
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T21_PubAll_Test\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   704
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T21_PubAll_Test\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   705
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T20_PubAll_Proto\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   706
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T20_PubAll_Proto\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   707
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T19_PubAll_Dep\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   708
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T19_PubAll_Dep\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   709
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T18_PubAll_Rel\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   710
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T18_PubAll_Rel\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   711
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T17_PubAll_All\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   712
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T17_PubAll_All\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   713
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T16_PubPartner_Test\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   714
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T16_PubPartner_Test\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   715
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T15_PubPartner_Proto\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   716
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T15_PubPartner_Proto\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   717
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T14_PubPartner_Dep\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   718
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T14_PubPartner_Dep\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   719
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T13_PubPartner_Rel\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   720
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T13_PubPartner_Rel\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   721
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T12_PubPartner_All\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   722
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T12_PubPartner_All\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   723
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T11_IntComp_Test\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   724
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T11_IntComp_Test\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   725
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T10_IntComp_Proto\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   726
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T10_IntComp_Proto\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   727
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T09_IntComp_Dep\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   728
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T09_IntComp_Dep\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   729
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T08_IntComp_Rel\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   730
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T08_IntComp_Rel\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   731
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T07_IntComp_All\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   732
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T07_IntComp_All\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   733
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T06_IntTech_Test\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   734
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T06_IntTech_Test\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   735
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T05_IntTech_Proto\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   736
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T05_IntTech_Proto\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   737
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T04_IntTech_Dep\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   738
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T04_IntTech_Dep\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   739
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T03_IntTech_Rel\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   740
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T03_IntTech_Rel\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   741
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T02_IntTech_All\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   742
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T02_IntTech_All\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   743
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T01_Unclassified\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   744
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/TestData/Components/T01_Unclassified\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   745
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker\\TestData ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   746
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker/src\\ProgramCheckerBase ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   747
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   748
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   749
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker\\docs ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   750
'M:/clean-src/os/buildtools/srcanamdw_os/programchecker\\bin ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   751
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT_TestLib\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   752
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT_TestLib\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   753
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.3\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   754
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.3\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   755
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.3\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   756
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   757
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   758
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   759
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.1\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   760
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.1\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   761
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC4.1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   762
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC3\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   763
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC3\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   764
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC3\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   765
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC2.2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   766
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC2.2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   767
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC2.2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   768
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT08.TC2.1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   769
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT06.TC2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   770
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT06.TC2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   771
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC4\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   772
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC4\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   773
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC4\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   774
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC3\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   775
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC3\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   776
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC3\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   777
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   778
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   779
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   780
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC1\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   781
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC1\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   782
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT05.TC1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   783
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC5.2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   784
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC5.2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   785
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC5.1\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   786
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC5.1\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   787
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC5\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   788
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC4.2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   789
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC4.2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   790
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC4.2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   791
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC4.1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   792
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC3.2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   793
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC3.2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   794
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC3.2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   795
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC3.1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   796
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   797
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   798
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   799
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT04.TC1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   800
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT03.TC3\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   801
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT03.TC3\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   802
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT03.TC3\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   803
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT03.TC2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   804
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT03.TC2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   805
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT03.TC2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   806
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT03.TC1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   807
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT02.TC3\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   808
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT02.TC3\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   809
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT02.TC3\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   810
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT02.TC2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   811
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT02.TC2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   812
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT02.TC2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   813
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT02.TC1.3\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   814
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT02.TC1.2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   815
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.3\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   816
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.3\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   817
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.3\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   818
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   819
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   820
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   821
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.1\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   822
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.1\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   823
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC5.1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   824
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC3.2\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   825
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC3.2\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   826
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC3.2\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   827
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC3.1\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   828
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC3.1\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   829
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC3.1\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   830
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC2.3\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   831
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC2.3\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   832
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/tests/TestData/RMT01.TC2.3\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   833
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool\\tests ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   834
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/src\\XML ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   835
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool/src\\GCCBinUtils ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   836
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   837
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool\\sample ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   838
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   839
'M:/clean-src/os/buildtools/srcanamdw_os/migrationtool\\docs ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   840
'M:/clean-src/os/buildtools/binanamdw_os\\depcheck ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   841
'M:/clean-src/os/buildtools/binanamdw_os/captools/tests/T_ImportsAnalyser\\TestData ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   842
'M:/clean-src/os/buildtools/binanamdw_os/captools/tests\\T_ImportsAnalyser ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   843
'M:/clean-src/os/buildtools/binanamdw_os/captools/tests/T_CapSearch\\TestData ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   844
'M:/clean-src/os/buildtools/binanamdw_os/captools/tests\\T_CapSearch ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   845
'M:/clean-src/os/buildtools/binanamdw_os/captools/tests/T_CapImportCheck\\TestData ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   846
'M:/clean-src/os/buildtools/binanamdw_os/captools/tests\\T_CapImportCheck ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   847
'M:/clean-src/os/buildtools/binanamdw_os/captools/tests/T_CapCheck\\TestData ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   848
'M:/clean-src/os/buildtools/binanamdw_os/captools/tests\\T_CapCheck ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   849
'M:/clean-src/os/buildtools/binanamdw_os/captools\\src ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   850
'M:/clean-src/os/buildtools/binanamdw_os/captools/sample\\ImportsAnalyser ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   851
'M:/clean-src/os/buildtools/binanamdw_os/captools/sample\\CapSearch ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   852
'M:/clean-src/os/buildtools/binanamdw_os/captools/sample\\CapImportCheck ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   853
'M:/clean-src/os/buildtools/binanamdw_os/captools/sample/CapCheck\\Sample_XML_ECL ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   854
'M:/clean-src/os/buildtools/binanamdw_os/captools/sample\\CapCheck ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   855
'M:/clean-src/os/buildtools/binanamdw_os/captools\\group ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   856
'M:/clean-src/os/buildtools/binanamdw_os/captools/docs\\Design ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   857
'M:/clean-src/os/buildtools/binanamdw_os/captools\\data ' => 0,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   858
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   859
);
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   860
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   861
sub CheckForAdvisoryNotes
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   862
{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   863
    my ($line) = @_;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   864
    
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   865
    # "s16c.o(.directive)", line 70: Warning: L6331W: s16c.o(.directive)(line 70, col 14) No eligible global symbol matches pattern _fsqrt.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   866
    if ($line =~ /".*", line \d+: Warning: +(.\d+.*?):/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   867
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   868
	    # Some compiler warnings about about style rather than substance. The RVCT
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   869
	    # compiler warnings are easily identified, and the Advisory_checklist above
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   870
	    # classifies the warnings present in the Symbian OS source code which are
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   871
	    # not currently considered to be violations of the "zero warnings" policy.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   872
	    # It is the responsibility of the Master Codeline Forum to manage this list,
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   873
	    # as part of the "zero warnings" policy.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   874
		return defined($Advisory_checklist{$1});
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   875
    } 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   876
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   877
	# ignore undesired codes in //EPOC/
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   878
	if ($line =~ /ADVISORY NOTE: Missing distribution.policy.s60 file in (.*)/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   879
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   880
		if (exists $Advisory_checklist{$1}){		
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   881
			return $Advisory_checklist{$1};
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   882
			}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   883
		else{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   884
			return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   885
			}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   886
    } 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   887
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   888
    # Downgrade Kits errors and warnings
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   889
    if (($line =~ /^WARNING: .+ matched against rule/i) ||
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   890
        ($line =~ /^WARNING: .+ matched tests/i))
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   891
    {
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   892
	    # Kits generation is not critical in MCL products and it 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   893
	    # should not be BRAG affecting.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   894
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   895
    } 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   896
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   897
	if ($line =~ /returning cat X/)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   898
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   899
		# Look for the phrase returning cat X. This is generated due to distribution policy file being remvoed
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   900
		
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   901
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   902
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   903
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   904
	if ($line =~ /ERROR.*Unable to perform a comparison using empty databases/i) 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   905
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   906
		# Look for the phrase BC Comparision. Generates when base comparision is failed due to the unavailability of the base build.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   907
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   908
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   909
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   910
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   911
	if ($line =~ /ERROR: Fatal exception \"execSpecialInstructions() failed with \d{1,} lines on stderr\"/i) 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   912
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   913
		# Look for the Run variability warnings. Generates while processing the variabilities.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   914
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   915
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   916
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   917
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   918
	if ($line =~ /WARN.*API Classifier load failed/i) 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   919
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   920
		# Look for the classifier load warnings. Generates when unable to load the API's.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   921
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   922
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   923
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   924
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   925
	if ($line =~ /WARNING: Envinfo overall status was not found/i) 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   926
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   927
		# Look for the classifier load warnings. Generates when unable to load the API's.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   928
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   929
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   930
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   931
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   932
	if ($line =~ /warning:\s*no newline at end of file/i && $line !~ /\.((rls)|(rsc)|(rss)|(rh)|(ra)|(hrh)|(rsg)|(loc)):\d{1,}:\d{1,}:\s*/i) 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   933
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   934
		# no newline at end of file warnings are to be captured as it can create some issues with different compilers
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   935
		# currently this will not work as remarks section is capturing this, which should not. 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   936
		# Resource files should not be considered.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   937
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   938
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   939
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   940
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   941
	if ($line =~ /^ADVISORY NOTE:/) 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   942
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   943
		# For use by any advisory notes.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   944
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   945
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   946
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   947
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   948
		if ($line =~ /^ERROR: Fatal exception \"ProcessVariability: Unable to copy .* \[Errno 13\] Permission denied: .*/) 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   949
	{
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   950
		# For buildrefdoc permission denied intermittent error
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   951
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   952
		return 1;
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   953
	}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   954
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   955
# This is used convert what would be picked up as warning in to a advisory note, as advisory notes are check for first
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   956
	# It also returns an additional value of the number of lines to slurp up to get the so the multi line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   957
	# warning (advisorynote) is only seen once.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   958
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   959
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   960
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   961
# This is used convert what would be picked up as error in to a advisory note, as advisory notes are check for first
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   962
	# It also returns an additional value of the number of lines to slurp up to get the so the multi line
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   963
	# errors (advisorynote) is only seen once.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   964
        
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   965
}
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
   966
1;