summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest
Commit message (Collapse)AuthorAgeFilesLines
...
* unittests: Support Windows.Michael J. Spencer2010-09-241-0/+27
| | | | llvm-svn: 114727
* CMake: Build unittests.Michael J. Spencer2010-09-242-1/+36
| | | | llvm-svn: 114725
* delete dead code.Chris Lattner2010-09-041-29/+0
| | | | llvm-svn: 113075
* Revert r111082. No warnings for this common pattern.Argyrios Kyrtzidis2010-08-151-2/+2
| | | | llvm-svn: 111102
* Add ATTRIBUTE_UNUSED to methods that are not supposed to be used.Argyrios Kyrtzidis2010-08-141-2/+2
| | | | llvm-svn: 111082
* Silence a warning.Jakob Stoklund Olesen2010-07-121-1/+1
| | | | llvm-svn: 108169
* Don't link against libm and libpthread which don't exist in BeOS/Haiku. Also,Nick Lewycky2010-06-232-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 Kramer2010-06-031-1/+1
| | | | llvm-svn: 105396
* Disable pthread support in googletest if llvm was configured without threads.Benjamin Kramer2010-06-032-0/+10
| | | | llvm-svn: 105390
* Turns out gtest still prefers the system <tr1/tuple> over it's ownBenjamin Kramer2010-06-032-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 Kramer2010-06-023-13/+2
| | | | llvm-svn: 105355
* Merge gtest-1.5.0.Benjamin Kramer2010-06-0224-989/+1497
| | | | llvm-svn: 105354
* Merge gtest-1.4.0.Benjamin Kramer2010-06-0221-2039/+4137
| | | | llvm-svn: 105353
* Merge gtest-1.3.0.Benjamin Kramer2010-06-0220-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 Lattner2010-04-181-2/+2
| | | | llvm-svn: 101690
* Fix -Asserts warnings.Daniel Dunbar2010-04-131-0/+1
| | | | llvm-svn: 101191
* add minix support, patch by Kees van Reeuwijk! PR6797Chris Lattner2010-04-091-1/+2
| | | | llvm-svn: 100895
* Continue propagating the GoogleTest flags until we can update our version toChandler Carruth2010-03-092-1/+8
| | | | | | | eliminate this problem. This will hopefully let us make progress on Linux bootstrapping. llvm-svn: 98095
* Consolidate GoogleTest make options and duplicate them to its own makefile.Chandler Carruth2010-03-091-0/+9
| | | | llvm-svn: 98074
* make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.Chris Lattner2010-01-242-0/+2
| | | | llvm-svn: 94378
* Fix an issue in googletest where a name was used before it was defined.Eli Friedman2009-12-181-1/+6
| | | | llvm-svn: 91718
* Remove superfluous 'extern' variable that was causing a warning with clang.Bill Wendling2009-12-161-1/+1
| | | | llvm-svn: 91552
* Remove / use flags that are now set in the Makefile.config.Julien Lerouge2009-10-262-4/+0
| | | | llvm-svn: 85149
* Haiku porting patches, Credit to Paul Davey.Edward O'Callaghan2009-10-121-1/+3
| | | | llvm-svn: 83823
* Follow googletest logic for suppressing warnings in unittests/UnitTestMain.Daniel Dunbar2009-09-202-2/+4
| | | | llvm-svn: 82373
* Move unittest driver to utils/unittest/UnitTestMain.Daniel Dunbar2009-09-133-1/+35
| | | | | | | - This eliminates a race between building the unittests and linking the UnitTestMain library. llvm-svn: 81719
* Teach googletest to use raw_ostream instead of just std::ostream.Jeffrey Yasskin2009-09-052-1/+26
| | | | | | | | This can break when there are implicit conversions from types raw_ostream understands but std::ostream doesn't, but it increases the number of cases that Just Work. llvm-svn: 81093
* The attached patches attempt to fix cross builds. For example, if youAnton Korobeynikov2009-08-181-1/+1
| | | | | | | | | | | | | 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! llvm-svn: 79296
* Remove trailing slashes from include paths. Some versions of mingw don't ↵Benjamin Kramer2009-07-271-1/+1
| | | | | | like them. llvm-svn: 77188
* Change 'make install' to install tblgen, for better support of out-of-tree ↵Chris Lattner2009-05-081-0/+2
| | | | | | | | targets, patch by Mikael Lepistö! llvm-svn: 71226
* Fix MingW build: define GTEST_OS_WINDOWS if OS is MingW, but disableJulien Lerouge2009-02-122-6/+10
| | | | | | exceptions. llvm-svn: 64367
* FIx spelling.Mike Stump2009-02-051-2/+2
| | | | llvm-svn: 63883
* Probe for flags before using them to try to help compiling withMike Stump2009-02-051-1/+4
| | | | | | | compilers that don't support those flags. This hopefully will help gcc 3.X compile this code. http://llvm.org/PR3487 llvm-svn: 63882
* Renamed Google Test license file from COPYING to LICENSE.TXT to match LLVMMisha Brukman2009-01-052-1/+1
| | | | | | conventions, per John Criswell. llvm-svn: 61708
* We also removed gtest-all.cc from the distribution tarball.Misha Brukman2009-01-021-3/+2
| | | | llvm-svn: 61581
* * Removed gtest-all.cc; .cc files including other .cc files is weirdMisha Brukman2009-01-018-85/+16
| | | | | | | | | | | | | * Removed gtest_main.cc: we have our own main() elsewhere * Simplified the Makefile as we don't need SOURCES * Moved the internal header to gtest/internal/ * Simplified the Makefile to remove -I param to CPP.Flags * Updated README.LLVM with all the steps I took to massage GTest to work in LLVM so far llvm-svn: 61540
* Moved Google Test code up one directory so that we can use a standard LLVMMisha Brukman2009-01-0112-2/+35
| | | | | | | | | Makefile with it, without resorting to the use of VPATH. Also added Makefiles at every level of the directory tree to properly recurse to Google Test and build it as a library (original Makefiles by Talin). llvm-svn: 61539
* Import of Google Test 1.2.1, with the non-essential bits removed.Misha Brukman2008-12-3129-0/+22431
Added a README.LLVM file to indicate which files and directories were removed from the original source tarball. llvm-svn: 61526
OpenPOWER on IntegriCloud