aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/test.c
Commit message (Collapse)AuthorAgeFilesLines
* unit-tests: Change how hashtable for testable functions is createdTobias Brunner2014-03-201-18/+35
| | | | | | | | Because GCC does not adhere to the priorities defined for constructors when building with --enable-monolithic (not sure if it was just luck that it worked in non-monolithic mode - anyway, it's not very portable) function registration would fail because the hashtable would not be created yet.
* unit-tests: Add facility to register testable functionsTobias Brunner2013-12-041-0/+50
These can be defined in plugins, or other parts of the tested libraries. They can even be static.