X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2Funittest%2Fgoogletest%2FREADME.LLVM;h=3565a3280e4fadae9c11662cfaaf863bfe2e64f6;hb=2900535e65683a74c01659c9776f78a8070798b5;hp=87b810838bd51db5d4da672b94cb284e2579decf;hpb=7ae6ff442a26212a0cc4c1929b8b0a105dc988e4;p=oota-llvm.git diff --git a/utils/unittest/googletest/README.LLVM b/utils/unittest/googletest/README.LLVM index 87b810838bd..3565a3280e4 100644 --- a/utils/unittest/googletest/README.LLVM +++ b/utils/unittest/googletest/README.LLVM @@ -1,14 +1,34 @@ LLVM notes ---------- -This directory contains Google Test 1.2.1, with all elements removed except for +This directory contains Google Test 1.6.0, with all elements removed except for the actual source code, to minimize the addition to the LLVM distribution. Cleaned up as follows: -$ rm -f aclocal* configure* Makefile* CHANGES CONTRIBUTORS README -$ rm -rf build-aux m4 make msvc samples scons scripts test xcode -# Clean up source files used for generating headers +# Remove all the unnecessary files and directories +$ rm -f aclocal* CMakeLists.txt configure* Makefile* CHANGES CONTRIBUTORS README +$ rm -rf build-aux cmake codegear fused-src m4 make msvc samples scripts test xcode $ rm -f `find . -name \*\.pump` -For the license, see the file COPYING in this directory. +# Move all the source files to the current directory +$ mv src/* . +$ rmdir src + +# Move extra headers into the already-existing internal headers dir +$ 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_main.cc + +$ mv COPYING LICENSE.TXT + + +Modified as follows: +* To GTestStreamToHelper in include/gtest/internal/gtest-internal.h, + added the ability to stream with raw_os_ostream. +* To refresh Haiku support in include/gtest/internal/gtest-port.h, + see http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100621/102898.html