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.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/unittests/TestMain.cpp b/unittests/TestMain.cpp
index 095076b2..9a64a4af 100644
--- a/unittests/TestMain.cpp
+++ b/unittests/TestMain.cpp
@@ -9,6 +9,12 @@
 
 #include "gtest/gtest.h"
 
+// WARNING: If LLVM's gtest_main target is reused
+//          or is built from LLVM's source tree,
+//          this file is ignored. Instead, LLVM's
+//          utils/unittest/UnitTestMain/TestMain.cpp
+//          is used.
+
 int main(int argc, char **argv) {
   testing::InitGoogleTest(&argc, argv);
   return RUN_ALL_TESTS();