llvm/utils/unittest/googletest
Anton Korobeynikov e55db74152 The attached patches attempt to fix cross builds. For example, if you
try to use i686-darwin to build for arm-eabi, you'll quickly run into
several false assumptions that the target OS must be the same as the
host OS. These patches split $(OS) into $(HOST_OS) and $(TARGET_OS) to
help builds like "make check" and the test-suite able to cross
compile. Along the way a target of *-unknown-eabi is defined as
"Freestanding" so that TARGET_OS checks have something to work with.

Patch by Sandeep Patel!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79296 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-18 00:40:33 +00:00
..
include/gtest * Removed gtest-all.cc; .cc files including other .cc files is weird 2009-01-01 02:05:43 +00:00
gtest-death-test.cc * Removed gtest-all.cc; .cc files including other .cc files is weird 2009-01-01 02:05:43 +00:00
gtest-filepath.cc
gtest-port.cc
gtest-test-part.cc * Removed gtest-all.cc; .cc files including other .cc files is weird 2009-01-01 02:05:43 +00:00
gtest-typed-test.cc
gtest.cc Fix MingW build: define GTEST_OS_WINDOWS if OS is MingW, but disable 2009-02-12 08:02:35 +00:00
LICENSE.TXT Renamed Google Test license file from COPYING to LICENSE.TXT to match LLVM 2009-01-05 17:42:15 +00:00
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00
README.LLVM Renamed Google Test license file from COPYING to LICENSE.TXT to match LLVM 2009-01-05 17:42:15 +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:

# Remove all the unnecessary files and directories
$ 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`

# 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/internal/|' *.cc

$ rm -f gtest-all.cc gtest_main.cc

$ mv COPYING LICENSE.TXT