Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make UnitTestMain/TestMain.cpp free from llvm/Config/config.h. | NAKAMURA Takumi | 2015-07-06 | 1 | -3/+2 |
| | | | | | | llvm/Config/config.h is unavailable outside of build tree. llvm-svn: 241523 | ||||
* | Add boolean to PrintStackTraceOnErrorSignal to disable crash reporting. | Pete Cooper | 2015-04-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | The current crash reporting on Mac OS is only disabled via an environment variable. This adds a boolean (default false) which can also disable crash reporting. The only client right now is the unittests which don't ever want crash reporting, but do want to detect killed programs. Reduces the time to run the APFloat unittests on my machine from [----------] 47 tests from APFloatTest (51250 ms total) to [----------] 47 tests from APFloatTest (765 ms total) Reviewed by Reid Kleckner and Justin Bogner llvm-svn: 234353 | ||||
* | [CMake] Use LINK_LIBS instead of target_link_libraries(). | NAKAMURA Takumi | 2014-02-26 | 1 | -4/+2 |
| | | | | llvm-svn: 202238 | ||||
* | [CMake] Add dependencies to gtest. | NAKAMURA Takumi | 2014-02-10 | 1 | -0/+6 |
| | | | | llvm-svn: 201079 | ||||
* | Sink add_llvm_library(gtest_main) to UnitTestMain/CMakeLists.txt. | NAKAMURA Takumi | 2014-01-10 | 1 | -0/+3 |
| | | | | llvm-svn: 198933 | ||||
* | Try to fix ProgramTest on FreeBSD | Reid Kleckner | 2013-04-30 | 1 | -0/+5 |
| | | | | | | | This seemed like the cleanest way to find the test executable. Also fix the file mode. llvm-svn: 180770 | ||||
* | 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 | ||||
* | build/unittests: Fix llvm-config names for gtest libraries, and bring Makefile | Daniel Dunbar | 2011-12-15 | 1 | -1/+1 |
| | | | | | | | library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. llvm-svn: 146706 | ||||
* | 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 MSVC release mode compilation error. | Francois Pichet | 2010-10-02 | 1 | -6/+6 |
| | | | | llvm-svn: 115407 | ||||
* | 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 | ||||
* | Disable pthread support in googletest if llvm was configured without threads. | Benjamin Kramer | 2010-06-03 | 1 | -0/+5 |
| | | | | llvm-svn: 105390 | ||||
* | Turns out gtest still prefers the system <tr1/tuple> over it's own | Benjamin Kramer | 2010-06-03 | 1 | -0/+3 |
| | | | | | | 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 | 1 | -4/+0 |
| | | | | llvm-svn: 105355 | ||||
* | Continue propagating the GoogleTest flags until we can update our version to | Chandler Carruth | 2010-03-09 | 1 | -0/+6 |
| | | | | | | | eliminate this problem. This will hopefully let us make progress on Linux bootstrapping. llvm-svn: 98095 | ||||
* | make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. | Chris Lattner | 2010-01-24 | 1 | -0/+1 |
| | | | | llvm-svn: 94378 | ||||
* | Remove / use flags that are now set in the Makefile.config. | Julien Lerouge | 2009-10-26 | 1 | -2/+0 |
| | | | | llvm-svn: 85149 | ||||
* | Follow googletest logic for suppressing warnings in unittests/UnitTestMain. | Daniel Dunbar | 2009-09-20 | 1 | -1/+3 |
| | | | | llvm-svn: 82373 | ||||
* | Move unittest driver to utils/unittest/UnitTestMain. | Daniel Dunbar | 2009-09-13 | 2 | -0/+34 |
- This eliminates a race between building the unittests and linking the UnitTestMain library. llvm-svn: 81719 |