Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-14 | Remove an extraneous parenthesis in IF_BUG_OHNCE__ | Nick Mathewson | |
Fixes bug 20141; bugfix on 0.2.9.1-alpha. Patch from Gisle Vanem. | |||
2016-09-08 | Treat all nonfatal assertion failures as unit test failures. | Nick Mathewson | |
Part of 19999. | |||
2016-09-06 | Add facility to suppress/capture tor_bug_occurred_() messages in unit tests. | Nick Mathewson | |
2016-09-06 | Add !(...) to BUG() log messages | Nick Mathewson | |
They use the same code as reporting assertion failures, so we should invert the sense of what we're "asserting". Fixes bug 20093. | |||
2016-06-09 | Reduce make check-spaces noise | Andrea Shepard | |
2016-04-15 | Add branch prediction to util_bug.h, and fix a bug. | Nick Mathewson | |
2016-04-14 | Add an IF_BUG_ONCE macro, since that's a pretty common pattern too. | Nick Mathewson | |
2016-04-14 | Add a BUG macro for usage in if checks. | Nick Mathewson | |
2016-04-14 | Add new tor_assert_nonfatal*() macros. | Nick Mathewson | |
Unlike tor_assert(), these macros don't abort the process. They're good for checking conditions we want to warn about, but which don't warrant a full crash. This commit also changes the default implementation for tor_fragile_assert() to tor_assert_nonfatal_unreached_once(). Closes ticket 18613. | |||
2016-04-04 | Move tor_assert implementation into its own header/module. | Nick Mathewson | |