]> granicus.if.org Git - libnl/commit
tests: Add check based unit test system
authorThomas Graf <tgraf@suug.ch>
Thu, 14 Mar 2013 15:25:17 +0000 (16:25 +0100)
committerThomas Graf <tgraf@suug.ch>
Thu, 14 Mar 2013 15:25:17 +0000 (16:25 +0100)
commite09e7f1035fc2a8c918822cbfcfac61c77153497
treecd3d8a92106201f5782d5ae7f7086177defed4fc
parent780a0423dc7a7f248d6a71a7ae6f531fe95ba911
tests: Add check based unit test system

Introduces new unit tests based on `check`. Each subsystem/module can
have its own unit tests in tests/check-<name>.c that will be linked
together in tests/check-all.c.

Running 'make check' will compile and run the unit tests automatically.

A reference unit test implementation has been done for the abstract
address module.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
configure.ac
tests/.gitignore
tests/Makefile.am
tests/check-addr.c [new file with mode: 0644]
tests/check-all.c [new file with mode: 0644]