Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unit-tests: Add ability to issue a warning message for a test case | Tobias Brunner | 2017-11-08 | 1 | -0/+24 |
| | | | | | This way we can warn if we e.g. skipped actually doing something due to dependencies (otherwise the test case would just appear to have succeeded). | ||||
* | unit-tests: Fix test_chunk_eq() if arguments have side-effects | Tobias Brunner | 2017-05-24 | 1 | -1/+1 |
| | |||||
* | unit-tests: Allow default test timeout to be configured via compile option | Thomas Egerer | 2017-02-14 | 1 | -0/+2 |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | ||||
* | unit-tests: Pass stringyfied assertion statement as non-format string argument | Martin Willi | 2015-04-15 | 1 | -3/+3 |
| | | | | | | If the assertion contains a modulo (%) operation, test_fail_msg() handles this as printf() format specifier. Pass the assertion string as argument for an explicit "%s" in the format string, instead. | ||||
* | unit-tests: Add support for Windows build | Martin Willi | 2014-06-04 | 1 | -1/+9 |
| | | | | | Instead of signals we catch Windows exceptions. Currently not supported are timers, which is more a convenience thing anyway. | ||||
* | unit-tests: Defer failures by worker threads | Tobias Brunner | 2014-05-19 | 1 | -3/+15 |
| | | | | | | | | | | | In some cases the main thread is not ready to immediately call siglongjmp(), e.g. if it currently holds a mutex that is later required during shutdown. Therefore, we delay handling errors in worker threads until the main thread performs the next check itself (or the test function ends). The same issue remains with SIGALRM. | ||||
* | unit-tests: Add a ck_assert_chunk_eq() convenience macro | Martin Willi | 2014-04-30 | 1 | -0/+18 |
| | |||||
* | unit-tests: Fix apidoc for libtest | Tobias Brunner | 2013-12-04 | 1 | -7/+10 |
| | |||||
* | unit-tests: Implement testing framework without "check" | Martin Willi | 2013-11-06 | 1 | -61/+280 |
| | |||||
* | unit-tests: support testing when leak-detective has not been enabled | Martin Willi | 2013-10-11 | 1 | -5/+14 |
| | |||||
* | Suppress log messages during tests | Tobias Brunner | 2013-06-11 | 1 | -0/+2 |
| | |||||
* | Enable leak detective for all test cases | Tobias Brunner | 2013-06-11 | 1 | -0/+99 |