diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-12-06 23:04:41 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-12-06 23:04:41 +0000 |
commit | 57f7dafcb769852a21870148e91535421c45d037 (patch) | |
tree | 26c5ce5721ac5dba25e846cd0af1ee126812fa14 /utils/unittest/googletest/README.LLVM | |
parent | 873a1dd7d679ac9a9a92a93a4d2bbb157878efb4 (diff) | |
download | llvm-57f7dafcb769852a21870148e91535421c45d037.tar.gz llvm-57f7dafcb769852a21870148e91535421c45d037.tar.bz2 llvm-57f7dafcb769852a21870148e91535421c45d037.tar.xz |
Modify the LLVM checkout of googletest:
1) don't delete gtest-all.cc (which is used to gather all gtest source
files in a single file)
2) make including LLVMSupport headers optional (on by default).
Sanitizer tools may want to use their own versions of googletest
compiled with specific flags, instead of the common googletest
library used for all other LLVM/Clang unittests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/unittest/googletest/README.LLVM')
-rw-r--r-- | utils/unittest/googletest/README.LLVM | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/unittest/googletest/README.LLVM b/utils/unittest/googletest/README.LLVM index 51340e9ceb..3565a3280e 100644 --- a/utils/unittest/googletest/README.LLVM +++ b/utils/unittest/googletest/README.LLVM @@ -19,9 +19,10 @@ $ rmdir src $ mv *.h include/gtest/internal/ # Update paths to the included files +$ perl -pi -e 's|^#include "src/|#include "|' gtest-all.cc $ perl -pi -e 's|^#include "src/|#include "gtest/internal/|' *.cc -$ rm -f gtest-all.cc gtest_main.cc +$ rm -f gtest_main.cc $ mv COPYING LICENSE.TXT |