aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/daemon.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-03 17:55:27 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-03 17:55:27 +0000
commit5ea755119547a93daed2b2a5447d470c0339a367 (patch)
tree09d86758a649f5aed21ce6dff4ef6de5fb005a7b /Source/charon/daemon.c
parent6e4c8294fb696f2a7748c895233b00e1af4c5a3d (diff)
downloadstrongswan-5ea755119547a93daed2b2a5447d470c0339a367.tar.bz2
strongswan-5ea755119547a93daed2b2a5447d470c0339a367.tar.xz
- Tests are now separated in test files in the tests-directory
Diffstat (limited to 'Source/charon/daemon.c')
-rw-r--r--Source/charon/daemon.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/charon/daemon.c b/Source/charon/daemon.c
index fbe5216fe..39418242c 100644
--- a/Source/charon/daemon.c
+++ b/Source/charon/daemon.c
@@ -27,9 +27,11 @@
#include "types.h"
#include "tester.h"
+#include "tests/tests.h"
#include "job_queue.h"
+
/* output for test messages */
extern FILE * stderr;
@@ -44,10 +46,12 @@ int main()
tester_t *tester = tester_create(test_output);
- tester->test_all(tester);
+ tester->test_all(tester,tests);
tester->destroy(tester);
+ job_queue->destroy(job_queue);
+
#ifdef LEAK_DETECTIVE
/* Leaks are reported in log file */
report_leaks();