aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-18 23:35:27 +0000
committerlloyd <[email protected]>2014-01-18 23:35:27 +0000
commit2f6e209b41f6c9b403e94028f7026866880f3ce1 (patch)
tree8e47d7413e35586a9927842aa26e0ca39807f007 /src
parent871a765023d21205a03e7906595bbee6dcc9c9e1 (diff)
Add initializer for test main
Diffstat (limited to 'src')
-rw-r--r--src/tests/tests.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp
index ed20aef3e..065931339 100644
--- a/src/tests/tests.cpp
+++ b/src/tests/tests.cpp
@@ -1,4 +1,5 @@
#include "tests.h"
+#include <botan/init.h>
#include <iostream>
#include <boost/filesystem.hpp>
#include <fstream>
@@ -273,5 +274,7 @@ int main(int argc, char* argv[])
return 1;
}
+ Botan::LibraryInitializer init;
+
return run_tests(tests);
}