unit-tests: Separate test runner to a library, reusable by other tests
authorMartin Willi <martin@revosec.ch>
Tue, 5 Nov 2013 13:40:03 +0000 (14:40 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 6 Nov 2013 09:31:07 +0000 (10:31 +0100)
commit09d0c9030ae92f80a24fd03f81a96887e7a17800
treeff339a2087861c3f31aa072d93b2404b881571e9
parent5a3230a2503a941431e891d2d43bc760f9f56cca
unit-tests: Separate test runner to a library, reusable by other tests

Other users may make use of the noinst libtest.la helper library to implement
unit tests. For libstrongswan, tests.[ch] provide the configuration for test
runner to perform unit tests in a simple manner.
src/libstrongswan/tests/Makefile.am
src/libstrongswan/tests/test_runner.c
src/libstrongswan/tests/test_runner.h
src/libstrongswan/tests/tests.c [new file with mode: 0644]
src/libstrongswan/tests/tests.h [new file with mode: 0644]