Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add basic command line parsing to TestMain. | Manuel Klimek | 2013-01-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | Summary: This allows unit tests for components that use Support/Debug.h to print debug information from test runs by specifying -debug when running the test. CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D301 llvm-svn: 172801 | ||||
* | unittest/googletest/Makefile: Unbreak out-of-tree build. | NAKAMURA Takumi | 2012-12-07 | 1 | -1/+1 |
| | | | | | | | - Use SOURCES instead of Source. See Makefile.rules and MakefileGuide.html. - Don't assume the current directory. $(wildcard *.cc) doesn't match anything on corresponding build directory. llvm-svn: 169568 | ||||
* | Try to unbreak makefile build by excluding gtest-all.cc source | Alexey Samsonov | 2012-12-06 | 1 | -0/+2 |
| | | | | llvm-svn: 169564 | ||||
* | Modify the LLVM checkout of googletest: | Alexey Samsonov | 2012-12-06 | 3 | -1/+59 |
| | | | | | | | | | | | 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. llvm-svn: 169559 | ||||
* | Remove unused internal linkage variable. | Richard Smith | 2012-11-27 | 1 | -2/+0 |
| | | | | llvm-svn: 168729 | ||||
* | Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵ | Sylvestre Ledru | 2012-09-27 | 13 | -111/+111 |
| | | | | | | See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768 | ||||
* | Fix a typo 'iff' => 'if' | Sylvestre Ledru | 2012-09-27 | 13 | -111/+111 |
| | | | | llvm-svn: 164767 | ||||
* | GTest on Android needs a custom tmpdir path. | Evgeniy Stepanov | 2012-09-10 | 1 | -0/+4 |
| | | | | llvm-svn: 163501 | ||||
* | Fix Android build of gtest and lib/Support. | Evgeniy Stepanov | 2012-09-04 | 1 | -1/+1 |
| | | | | llvm-svn: 163131 | ||||
* | Fix a typo (the the => the) | Sylvestre Ledru | 2012-07-23 | 1 | -1/+1 |
| | | | | llvm-svn: 160621 | ||||
* | Remove dead private member variables from gtest. | Benjamin Kramer | 2012-06-06 | 2 | -3/+1 |
| | | | | llvm-svn: 158101 | ||||
* | Fix gtest build issue on Visual Studio 2012 RC | Justin Holewinski | 2012-06-06 | 1 | -0/+6 |
| | | | | llvm-svn: 158046 | ||||
* | llvm-build: Add support for non-installed libraries (e.g., gtest). | Daniel Dunbar | 2012-05-15 | 1 | -0/+2 |
| | | | | | | | - These libraries are only reported by llvm-config when run from a development tree. llvm-svn: 156838 | ||||
* | Help GCC along with code that's actually unreachable. | David Blaikie | 2012-01-22 | 1 | -0/+3 |
| | | | | | | | | Unfortunately I don't think there's a fix for this that will work upstream and also satisfy Clang's -Wunreachable-code, which is a pity. But I'll give it some more thought -perhaps there's some way out. llvm-svn: 148645 | ||||
* | Remove unreachable defaults from gtest. | David Blaikie | 2012-01-21 | 3 | -5/+0 |
| | | | | | | This will ensure LLVM and Clang build -Wswitch-enum-redundant-default (an on-by-default warning I'm about to add to Clang). llvm-svn: 148639 | ||||
* | build/unittests: Fix llvm-config names for gtest libraries, and bring Makefile | Daniel Dunbar | 2011-12-15 | 2 | -2/+2 |
| | | | | | | | library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. llvm-svn: 146706 | ||||
* | build/CMake: Finish removal of add_llvm_library_dependencies. | Daniel Dunbar | 2011-11-29 | 1 | -8/+0 |
| | | | | llvm-svn: 145420 | ||||
* | LLVMBuild: Add info for gtest. | Daniel Dunbar | 2011-11-12 | 1 | -0/+28 |
| | | | | llvm-svn: 144445 | ||||
* | Adding dependencies to allow -DBUILD_SHARED_LIBS=true to complete. | Joe Abbey | 2011-10-19 | 1 | -0/+8 |
| | | | | llvm-svn: 142464 | ||||
* | Update CMake build for new gtest file. | Frits van Bommel | 2011-07-27 | 1 | -0/+1 |
| | | | | llvm-svn: 136215 | ||||
* | Merge gtest-1.6.0. | Jay Foad | 2011-07-27 | 28 | -1356/+3498 |
| | | | | llvm-svn: 136212 | ||||
* | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 3 | -3/+3 |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | ||||
* | Fixes warnings emitted by Visual Studio 2010 compiler. | Oscar Fuentes | 2011-03-01 | 1 | -0/+2 |
| | | | | | | Patch by Erik Olofsson! llvm-svn: 126796 | ||||
* | Don't install libUnitTestMain.a. It might be useless without gtest headers. | NAKAMURA Takumi | 2011-02-28 | 1 | -0/+2 |
| | | | | llvm-svn: 126632 | ||||
* | Make Win32's header file name lower for cross build on case-sensitive ↵ | NAKAMURA Takumi | 2011-02-04 | 1 | -1/+1 |
| | | | | | | filesystem. llvm-svn: 124864 | ||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 |
| | | | | llvm-svn: 120298 | ||||
* | Fix VC2010 build. | Michael J. Spencer | 2010-10-19 | 1 | -3/+0 |
| | | | | llvm-svn: 116833 | ||||
* | Build with RTTI and exceptions disabled. Only in GCC for now. | Oscar Fuentes | 2010-10-17 | 1 | -0/+6 |
| | | | | llvm-svn: 116682 | ||||
* | gtest: Fix warnings on MinGW. | Michael J. Spencer | 2010-10-07 | 1 | -3/+3 |
| | | | | llvm-svn: 115945 | ||||
* | CMake: Fix warning in gtest. | Michael J. Spencer | 2010-10-07 | 1 | -0/+4 |
| | | | | llvm-svn: 115935 | ||||
* | Fix MSVC release mode compilation error. | Francois Pichet | 2010-10-02 | 1 | -6/+6 |
| | | | | llvm-svn: 115407 | ||||
* | Reverting "CMake: Don't include tools, unittets, or examples as | Oscar Fuentes | 2010-09-25 | 1 | -13/+11 |
| | | | | | | | | | | | | available targets unless LLVM_INCLUDE_X is ON. LLVM_BUILD_X implies LLVM_INCLUDE_X" It breaks the configuration phase when cmake is invoked without parameters, it is too complex for the purpose and introduces an incovenience for the user (as both LLVM_BUILD_X and LLVM_INCLUDE_X must set to OFF for not including X on the build) llvm-svn: 114795 | ||||
* | CMake: Don't include tools, unittets, or examples as available targets | Michael J. Spencer | 2010-09-24 | 1 | -11/+13 |
| | | | | | | unless LLVM_INCLUDE_X is ON. LLVM_BUILD_X implies LLVM_INCLUDE_X llvm-svn: 114747 | ||||
* | Fix line endings from my last commit. | Michael J. Spencer | 2010-09-24 | 1 | -3/+3 |
| | | | | llvm-svn: 114728 | ||||
* | unittests: Support Windows. | Michael J. Spencer | 2010-09-24 | 1 | -0/+27 |
| | | | | llvm-svn: 114727 | ||||
* | CMake: Build unittests. | Michael J. Spencer | 2010-09-24 | 2 | -1/+36 |
| | | | | llvm-svn: 114725 | ||||
* | delete dead code. | Chris Lattner | 2010-09-04 | 1 | -29/+0 |
| | | | | llvm-svn: 113075 | ||||
* | Revert r111082. No warnings for this common pattern. | Argyrios Kyrtzidis | 2010-08-15 | 1 | -2/+2 |
| | | | | llvm-svn: 111102 | ||||
* | Add ATTRIBUTE_UNUSED to methods that are not supposed to be used. | Argyrios Kyrtzidis | 2010-08-14 | 1 | -2/+2 |
| | | | | llvm-svn: 111082 | ||||
* | Silence a warning. | Jakob Stoklund Olesen | 2010-07-12 | 1 | -1/+1 |
| | | | | llvm-svn: 108169 | ||||
* | Don't link against libm and libpthread which don't exist in BeOS/Haiku. Also, | Nick Lewycky | 2010-06-23 | 2 | -3/+6 |
| | | | | | | Haiku like Linux provides <regex.h>, so use it. Patch by Paul Davey! llvm-svn: 106620 | ||||
* | Forgot to update the most important part of the gtest modifications readme. | Benjamin Kramer | 2010-06-03 | 1 | -1/+1 |
| | | | | llvm-svn: 105396 | ||||
* | Disable pthread support in googletest if llvm was configured without threads. | Benjamin Kramer | 2010-06-03 | 2 | -0/+10 |
| | | | | llvm-svn: 105390 | ||||
* | Turns out gtest still prefers the system <tr1/tuple> over it's own | Benjamin Kramer | 2010-06-03 | 2 | -0/+6 |
| | | | | | | implementation. Force the internal one to unbreak clang selfhost on linux. llvm-svn: 105386 | ||||
* | Update Readme and Makefiles for the new gtest. | Benjamin Kramer | 2010-06-02 | 3 | -13/+2 |
| | | | | llvm-svn: 105355 | ||||
* | Merge gtest-1.5.0. | Benjamin Kramer | 2010-06-02 | 24 | -989/+1497 |
| | | | | llvm-svn: 105354 | ||||
* | Merge gtest-1.4.0. | Benjamin Kramer | 2010-06-02 | 21 | -2039/+4137 |
| | | | | llvm-svn: 105353 | ||||
* | Merge gtest-1.3.0. | Benjamin Kramer | 2010-06-02 | 20 | -468/+2089 |
| | | | | | | | OSX users: make sure that CrashReporter is disabled when running unit tests. Death tests are enabled now so you'll get a ton of message boxes. llvm-svn: 105352 | ||||
* | silence some -Wmissing-field-initializers warnings. | Chris Lattner | 2010-04-18 | 1 | -2/+2 |
| | | | | llvm-svn: 101690 | ||||
* | Fix -Asserts warnings. | Daniel Dunbar | 2010-04-13 | 1 | -0/+1 |
| | | | | llvm-svn: 101191 |