summaryrefslogtreecommitdiff
authorJianxiong Pan <jianxiong.pan@amlogic.com>2018-10-18 06:23:50 (GMT)
committer Jianxin Pan <jianxin.pan@amlogic.com>2018-10-18 06:29:40 (GMT)
commit3f25fef9ac75dd5b82e1a6a9111073f8d5f051bc (patch)
treece5514e4029e262cd806d1fe6611fcd4c57b0b91
parent90277a9ebc36df992d294ccd17ba8cdcd67347b2 (diff)
downloadcommon-3f25fef9ac75dd5b82e1a6a9111073f8d5f051bc.zip
common-3f25fef9ac75dd5b82e1a6a9111073f8d5f051bc.tar.gz
common-3f25fef9ac75dd5b82e1a6a9111073f8d5f051bc.tar.bz2
script: add new check rules in merge_pre_check.pl [1/1]
PD#174488 Problem: add some new rules Solution: expand the scope of check Verify: p212 Change-Id: Ica28adb7ddb43e39cd4570e0338dbd59ec6a42f3 Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Diffstat
-rwxr-xr-xscripts/amlogic/merge_pre_check.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/amlogic/merge_pre_check.pl b/scripts/amlogic/merge_pre_check.pl
index 3b3358f..b7a5d298 100755
--- a/scripts/amlogic/merge_pre_check.pl
+++ b/scripts/amlogic/merge_pre_check.pl
@@ -223,7 +223,7 @@ sub check_msg_314
if( $lnum == 5 )
{
- if ($line !~ /^(\s){4}PD\#(\w)+:\s([\w]+:\s){1,2}[\w]+.*[\S]+$/)
+ if ($line !~ /^(\s){4}PD\#.+:\s([\w]+:\s){1,2}[\w]+.*[\S]+$/)
{
$err_cnt += 1;
$line =~ s/^(\s){4}//;