summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-12-05 17:31:33 -0500
committerMathias Stearn <mathias@10gen.com>2014-12-08 11:35:38 -0500
commitd8dc1d99e730ae829f978f471c8da5f88ffc7f17 (patch)
tree06d440a7fcc701cdb2580b21837b6cf53435f68b /buildscripts
parent909bb8ed24c3c2448fc10532f59c54fb42033190 (diff)
downloadmongo-d8dc1d99e730ae829f978f471c8da5f88ffc7f17.tar.gz
Fatal assertion fixups
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/errorcodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/errorcodes.py b/buildscripts/errorcodes.py
index 16ca66455bf..5e8e0614e6e 100755
--- a/buildscripts/errorcodes.py
+++ b/buildscripts/errorcodes.py
@@ -50,9 +50,9 @@ def parseSourceFiles( callback ):
quick = [ "assert" , "Exception"]
patterns = [
- re.compile( r"[umsgf]asser(?:t|ted) *\( *(\d+)" ) ,
+ re.compile( r"[umsg]asser(?:t|ted)(?:NoTrace)? *\( *(\d+)" ) ,
re.compile( r"(?:User|Msg|MsgAssertion)Exception *\( *(\d+)" ),
- re.compile( r"fassertFailed(?:NoTrace|WithStatus)? *\( *(\d+)" )
+ re.compile( r"fassert(?:Failed)?(?:WithStatus)?(?:NoTrace)? *\( *(\d+)" ),
]
bad = [ re.compile( r"^\s*assert *\(" ) ]