Skip to content

Commit a4bbfa7

Browse files
committed
Rework internal unit tests
Put all the internal unit tests in a separate file. The tests suite run (via `ndpiReader`): * if the option `--run-tests` is used, * always if the library is compiled with `-DNDPI_EXTENDED_SANITY_CHECKS` (useful in CI) Extend tests using part of #3146. We keep `tests/unit/unit.c` for serialization tests, like now, because that is the only code that depends on the external library libjson-c
1 parent 9c6d2be commit a4bbfa7

4 files changed

Lines changed: 2383 additions & 2003 deletions

File tree

0 commit comments

Comments
 (0)