Refactors sequential&parallel test cases
[junction.git] / test / main.cpp
diff --git a/test/main.cpp b/test/main.cpp
new file mode 100644 (file)
index 0000000..9469c7b
--- /dev/null
@@ -0,0 +1,12 @@
+#include "test.h"
+#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;
+}