Refactors Folly map test cases to use cdsstress library
[folly.git] / folly / stress-test / main.cpp
diff --git a/folly/stress-test/main.cpp b/folly/stress-test/main.cpp
new file mode 100644 (file)
index 0000000..885d3f3
--- /dev/null
@@ -0,0 +1,11 @@
+#include <cds_test/stress_test.h>
+
+int main(int argc, char** argv) {
+  // Read test config file
+  cds_test::init_config(argc, argv);
+
+  // Init Google test
+  ::testing::InitGoogleTest(&argc, argv);
+  int result = RUN_ALL_TESTS();
+  return result;
+}