thread safe randoms
[awesomized/libmemcached] / test / setup.cpp
index 9591a3569c7b982350bfdf35fe6dc8a6563c5698..a0325af52530637fb1b95058e7e6e3e41d72d862 100644 (file)
@@ -1,5 +1,6 @@
 #include "mem_config.h"
 #include "test/lib/env.hpp"
+#include "test/lib/random.hpp"
 #include <cstdlib>
 #include <cstdio>
 #include <cstring>
@@ -78,6 +79,8 @@ static inline void setup_sasl() {
 #endif
 
 int setup(int &, char ***argv) {
+  random_setup();
+
   setup_signals();
   setup_asan(*argv);
   setup_sasl();