about summary refs log tree commit diff homepage
path: root/unittests/TestMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/TestMain.cpp')
-rw-r--r--unittests/TestMain.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/unittests/TestMain.cpp b/unittests/TestMain.cpp
new file mode 100644
index 00000000..095076b2
--- /dev/null
+++ b/unittests/TestMain.cpp
@@ -0,0 +1,15 @@
+//===--- unittests/TestMain.cpp - unittest driver -------------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "gtest/gtest.h"
+
+int main(int argc, char **argv) {
+  testing::InitGoogleTest(&argc, argv);
+  return RUN_ALL_TESTS();
+}