0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
Eric Milkie
75081de3da SERVER-19025 add fassertStatusOK to errorcodes.py 2015-06-18 09:16:08 -04:00
Mathias Stearn
d8dc1d99e7 Fatal assertion fixups 2014-12-08 11:35:38 -05:00
Geert Bosch
d41c5f3514 SERVER-15469: Fix errorcodes.py error message for bare assert 2014-10-01 16:24:44 -04:00
Spencer T Brody
998ed78216 SERVER-14827 Do not generate reports by default in errorcodes.py 2014-08-14 15:57:37 -04:00
Spencer T Brody
ef85749d9a Make errorcodes.py return a non-zero code on failure 2014-07-10 16:44:24 -04:00
Eric Milkie
81ed23939d SERVER-14522 add fassertFailedWithStatus() to errorcodes.py checking 2014-07-10 11:22:34 -04:00
Matt Kangas
153f2302ca SERVER-10069 Rewrite errorcodes.py so it captures multiline messages
- captures multiline messages, when possible
- no longer silently modifies source code. (for hygenic build)
- prompts user to reinvoke with "--fix" when conflict or zero code detected
- faster
2014-06-18 23:56:23 -04:00
Tad Marshall
41e3d093a2 Make "bare assert" check more selective
Do not trigger "bare assert" error when " assert(" appears in a
quoted string, as it does in src/mongo/shell/mongo.cpp for example
(as generated by the Visual Studio build).
2013-04-22 08:20:35 -04:00
Andy Schwerin
ef446f655b Have errorcodes.py track fassert and fassertFailed.
Fix up duped error codes.
2012-04-23 16:11:12 -04:00
Eliot Horowitz
87a4604930 fail to build if you use a bare assert SERVER-1259 2012-03-26 13:23:23 -04:00
Eliot Horowitz
bd6d0c9919 replace assert with verify SERVER-1259 2012-03-26 12:58:52 -04:00
Eliot Horowitz
da292a8d8e make buildscripts pay attention to fassert and assign error codes 2012-03-23 00:46:36 -04:00
Eliot Horowitz
08eac1faf3 improve scons invocation time by short circuiting regex 2012-01-22 00:06:06 -05:00
Dwight
359a4fe928 fix for windows 2011-10-07 17:10:54 -04:00
Mathias Stearn
fff9db5a8d Preserve existing spacing when replacing 0 errorcodes 2011-08-01 19:14:03 -04:00
gregs
7acd676093 Auto-gen zero error codes. 2011-06-21 17:23:01 -04:00
Eliot Horowitz
bf856b75d9 fix error codes 2011-06-06 14:41:56 -04:00
Eliot Horowitz
510347df13 add verify( <code> , <test> ) SERVER-1259 2011-05-29 22:19:59 -04:00
Mathias Stearn
5d5d572a64 use master for github link to avoid huge diffs 2011-05-12 18:01:53 -04:00
Mathias Stearn
b379b62557 Write docs/errors.md in binary mode 2011-05-12 17:26:22 -04:00
Eliot Horowitz
138040ccc0 not checking msgasserted for dupes 2011-04-15 13:39:47 -04:00
Mathias Stearn
c017195103 use /usr/bin/env python in all buildscripts 2010-10-21 16:52:51 -04:00
Eliot Horowitz
cbc4f28938 some cleaning 2010-09-03 11:58:53 -04:00
Eliot Horowitz
4b50326dbc cleaning and error code stuff 2010-07-19 15:37:19 -04:00
Eliot Horowitz
4d201c39db don't look at module links 2010-06-02 14:15:54 -04:00
Eliot Horowitz
db6337a8e8 seperate package for c++ client 2010-05-23 23:30:52 -04:00
Roman Shtylman
b5faf3b514 buildsystem: added new header directories
ignore the debian directory when looking for duplicate IDs
2010-05-21 00:10:36 +08:00
Dwight
53ca30be25 use stringstream 2010-05-06 15:46:11 -04:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Mathias Stearn
53667da6d8 Make buildscripts/errorcodes.py executable 2009-12-30 18:41:07 -05:00
Eliot Horowitz
b93d04c91f fix nightly 2009-12-29 10:43:34 -05:00
Eliot Horowitz
35dc5cd0fd fix 64-bit osx 2009-12-28 17:17:01 -05:00
Eliot Horowitz
d5a5401f9a use code in getLastError SERVER-112 2009-12-28 17:12:49 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00