unit-tests: Add facility to register testable functions

These can be defined in plugins, or other parts of the tested libraries.
They can even be static.
This commit is contained in:
Tobias Brunner
2013-12-04 20:32:59 +01:00
committed by Andreas Steffen
parent a24eec4649
commit 4cea186b64
5 changed files with 169 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ selectors/traffic_selector.c threading/thread.c threading/thread_value.c \
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
utils/utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
utils/printf_hook/printf_hook_builtin.c utils/settings.c
utils/printf_hook/printf_hook_builtin.c utils/settings.c utils/test.c
# adding the plugin source files