summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-25 21:51:11 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-25 21:51:11 +0000
commit6188cb8aa778c023bc19d1d6bc02e7947d669298 (patch)
treeb80b8ca1c13763eea4834126bdf94d7cec211f84
parentda850a17a09cc7ce2c06c90fb3f9338cfd500ca1 (diff)
downloadATCD-6188cb8aa778c023bc19d1d6bc02e7947d669298.tar.gz
Tue Jul 25 21:51:07 UTC 2006 William R. Otte <wotte@dre.vanderbilt.edu>
-rw-r--r--ACE/ChangeLog7
-rw-r--r--ACE/bin/PythonACE/fuzz/inline.py2
-rw-r--r--ACE/bin/PythonACE/fuzz/max_project_len.py7
3 files changed, 12 insertions, 4 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index f46979b4090..7133216d494 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,10 @@
+Tue Jul 25 21:51:07 UTC 2006 William R. Otte <wotte@dre.vanderbilt.edu>
+
+ * bin/PythonACE/fuzz/max_project_len.py
+ * bin/PythonACE/fuzz/inline.py
+
+ Fixed errors in these checks.
+
Tue Jul 25 20:52:51 UTC 2006 William R. Otte <wotte@dre.vanderbilt.edu>
* bin/PythonACE/fuzz/cpp_inline.py
diff --git a/ACE/bin/PythonACE/fuzz/inline.py b/ACE/bin/PythonACE/fuzz/inline.py
index 9610f0cf76e..c981289d105 100644
--- a/ACE/bin/PythonACE/fuzz/inline.py
+++ b/ACE/bin/PythonACE/fuzz/inline.py
@@ -10,7 +10,7 @@ regex = re.compile ("(\s|^)+inline\s+")
begin_exclude = re.compile ("FUZZ\: disable check_for_inline")
end_exclude = re.compile ("FUZZ\: enable check_for_inline")
-error_message = "contains a C++ inline keyword, instead of ACE_INLINE\n"
+error_message = ": error: contains a C++ inline keyword, instead of ACE_INLINE\n"
from _generic_handler import generic_handler
diff --git a/ACE/bin/PythonACE/fuzz/max_project_len.py b/ACE/bin/PythonACE/fuzz/max_project_len.py
index 39d3b14c163..e00c7937026 100644
--- a/ACE/bin/PythonACE/fuzz/max_project_len.py
+++ b/ACE/bin/PythonACE/fuzz/max_project_len.py
@@ -17,9 +17,10 @@ def handler (file_name, file_content):
return 0
else:
for group in match.groups ():
- stderr.write (file_name + ":0: error: Project named " + group +
- " meets or exceeds the maximum project name length of " +
- str (max_proj_len) + " characters\n")
+ if (len (group) >= max_proj_len):
+ stderr.write (file_name + ":0: error: Project named " + group +
+ " meets or exceeds the maximum project name length of " +
+ str (max_proj_len) + " characters\n")
return 1