Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-01 | Fixed main birdloop init in unit tests | Maria Matejka | |
Some unit tests weren't initializing the birdloop, trying to write the birdloop ping into stdin. Fixed this and also forced stdin close on startup of every test just to be sure that CI and local build behave the same in this. (CI was failing on this while local build not.) | |||
2022-07-18 | Merge commit '94eb0858' into thread-next | Maria Matejka | |
2022-03-09 | Fixed resource initialization in unit tests | Maria Matejka | |
2022-03-02 | Introducing an universal temporary linpool flushed after every task | Maria Matejka | |
2022-03-02 | Merge commit '2c13759136951ef0e70a3e3c2b2d3c9a387f7ed9' into haugesund | Maria Matejka | |
2021-11-26 | Trie: Implement longest-prefix-match queries and walks | Ondrej Zajicek (work) | |
The prefix trie now supports longest-prefix-match query by function trie_match_longest_ipX() and it can be extended to iteration over all covering prefixes for a given prefix (from longest to shortest) using TRIE_WALK_TO_ROOT_IPx() macro. | |||
2021-10-13 | fixup! Multipage allocation | Maria Matejka | |
2021-09-25 | Filter: Add prefix trie benchmarks | Ondrej Zajicek (work) | |
Add trie tests intended as benchmarks that use external datasets instead of generated prefixes. As datasets are not included, they are commented out by default. | |||
2021-09-25 | Filter: Improve prefix trie tests | Ondrej Zajicek (work) | |
Add tests explicitly matching insides and outsides of trie and update tests to do testing of both IPv4 and IPv6 tries. | |||
2021-09-10 | Reducing filter stack size to allow for lesser thread stack size | Maria Matejka | |
2021-02-10 | Tests: Add missing mockup function to tests | Ondrej Zajicek (work) | |
2020-06-03 | Test: Fix unit test mockups | Ondrej Zajicek (work) | |
2020-05-01 | IPv6 address parser: fail on incomplete addresses | Maria Matejka | |
2019-12-17 | Test: Improve filter_test | Ondrej Zajicek (work) | |
Initial parsing of test.conf must be done directly in filter_test main, while reconfiguration is handled as a regular test. Also fix several minor issues in test code. | |||
2019-10-09 | Testing measures times | Maria Matejka | |
2019-10-04 | Testing: Don't call vsnprintf with NULL format | Maria Matejka | |
2019-10-04 | Fixed undefined behavior on signals. | Maria Matejka | |
The C11 specification allows only sig_atomic_t and _Atomic variable access. All other accesses to global variables are undefined behavior. Using int was probably OK on x86 and x86_64; yet there were some reports from other architectures (especially some MIPS) that in rare cases, after issuing SIGHUP, BIRD did strange things. | |||
2019-07-10 | Merge branch 'master' into mq-filter-stack | Maria Matejka | |
2019-07-09 | Test: Fixed annoying warnings (and possible obscure bugs). | Maria Matejka | |
2019-07-09 | Test: better random u64 generator | Maria Matejka | |
2019-07-03 | Merge branch 'master' into mq-filter-stack | Maria Matejka | |
2019-06-30 | Add mock-up function for unit tests | Ondrej Zajicek (work) | |
They failed without it. | |||
2019-06-12 | Add mock-up function for unit tests | Ondrej Zajicek (work) | |
They failed without it. | |||
2019-02-20 | Test: Added -d flag to die directly after first error. | Maria Matejka | |
2019-02-20 | Test: Fixed annoying warnings (and possible obscure bugs). | Maria Matejka | |
2016-12-13 | Minor cleanups | Ondrej Zajicek (work) | |
2016-11-11 | Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0 | Pavel Tvrdik | |
2016-11-11 | Birdtest: Put hard new lines for strict line width | Pavel Tvrdik | |
This patch ensures width of output lines from testing framework (not debug output). So output piped lined into file that has default width 80 cols is now correctly wrapped. | |||
2016-11-09 | Unit Testing for BIRD | Ondrej Zajicek (work) | |
- Unit Testing Framework (BirdTest) - Integration of BirdTest into the BIRD build system - Tests for several BIRD modules Based on squashed Pavel Tvrdik's int-test branch, updated for current int-new branch. |