summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2015-03-23 16:15:03 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-04-02 17:41:38 -0500
commite6e60ae624027b63062f8f9617c37424ba35642b (patch)
treeb67b2e5e0a04ca57078abb39ca85da89bfa20d33 /src/build/tools
parentccc083685c11abaae934374aab71628e264f55a1 (diff)
downloadtalos-hostboot-e6e60ae624027b63062f8f9617c37424ba35642b.tar.gz
talos-hostboot-e6e60ae624027b63062f8f9617c37424ba35642b.zip
Allow TODO/FIXME comments to have CQ: vs only RTC:
Change-Id: I2379977203f435dead939f26acb40cdddb94fc6e Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16545 Tested-by: Jenkins Server Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Elizabeth Liner <eliner@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/tools')
-rwxr-xr-xsrc/build/tools/verify-commit7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/build/tools/verify-commit b/src/build/tools/verify-commit
index 3bb2028d7..65b589c4d 100755
--- a/src/build/tools/verify-commit
+++ b/src/build/tools/verify-commit
@@ -6,7 +6,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2013,2014
+# Contributors Listed Below - COPYRIGHT 2013,2015
# [+] International Business Machines Corp.
#
#
@@ -163,10 +163,11 @@ sub verifyFileLine
# Check "TODO" or "FIXME" type comments.
if (($line =~ m/TODO/i) || ($line =~ m/FIXME/i))
{
- if (not ($line =~ m/RTC[\s:]*[0-9]*/))
+ if ( (not ($line =~ m/RTC[\s:]\s*[0-9]+/)) &&
+ (not ($line =~ m/CQ[\s:]\s*[A-Z][A-Z][0-9]+/)))
{
warning($file,$line,$count,
- "TODO/FIXME tag without corresponding RTC number.");
+ "TODO/FIXME tag without corresponding RTC or CQ number.");
}
}
OpenPOWER on IntegriCloud