2008-12-31 17:34:06 +00:00
|
|
|
LLVM notes
|
|
|
|
----------
|
|
|
|
|
|
|
|
This directory contains Google Test 1.2.1, with all elements removed except for
|
|
|
|
the actual source code, to minimize the addition to the LLVM distribution.
|
|
|
|
|
|
|
|
Cleaned up as follows:
|
2009-01-01 02:05:43 +00:00
|
|
|
|
|
|
|
# Remove all the unnecessary files and directories
|
2008-12-31 17:34:06 +00:00
|
|
|
$ rm -f aclocal* configure* Makefile* CHANGES CONTRIBUTORS README
|
|
|
|
$ rm -rf build-aux m4 make msvc samples scons scripts test xcode
|
|
|
|
$ rm -f `find . -name \*\.pump`
|
2009-01-01 02:05:43 +00:00
|
|
|
|
|
|
|
# Move all the source files to the current directory
|
2009-01-01 01:29:44 +00:00
|
|
|
$ mv src/* .
|
|
|
|
$ rmdir src
|
2008-12-31 17:34:06 +00:00
|
|
|
|
2009-01-02 15:28:00 +00:00
|
|
|
# Move extra headers into the already-existing internal headers dir
|
2009-01-01 02:05:43 +00:00
|
|
|
$ mv *.h include/gtest/internal/
|
|
|
|
|
|
|
|
# Update paths to the included files
|
|
|
|
$ perl -pi -e 's|^#include "src/|#include "gtest/internal/|' *.cc
|
|
|
|
|
2009-01-02 15:28:00 +00:00
|
|
|
$ rm -f gtest-all.cc gtest_main.cc
|
2009-01-01 02:05:43 +00:00
|
|
|
|
2009-01-05 17:42:15 +00:00
|
|
|
$ mv COPYING LICENSE.TXT
|
2009-09-05 18:16:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
Modified as follows:
|
|
|
|
* To GTestStreamToHelper in include/gtest/internal/gtest-internal.h,
|
|
|
|
added the ability to stream with raw_os_ostream.
|