aboutsummaryrefslogtreecommitdiff
path: root/unittests/TestMain.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-13 21:31:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-13 21:31:21 +0000
commitf845c74c6243a10ee5df2af003dcf81bbd0b51a0 (patch)
tree23caebb00abea9d6bb19051a271f0c69700b13fe /unittests/TestMain.cpp
parentf5382ab5180c4051737367ed9cacbab697be29de (diff)
Move unittest driver to utils/unittest/UnitTestMain.
- This eliminates a race between building the unittests and linking the UnitTestMain library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/TestMain.cpp')
-rw-r--r--unittests/TestMain.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/unittests/TestMain.cpp b/unittests/TestMain.cpp
deleted file mode 100644
index 095076b23e..0000000000
--- a/unittests/TestMain.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-//===--- 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();
-}