summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/UnitTestMain/TestMain.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Search for llvm-symbolizer binary in the same directory as argv[0], beforeRichard Smith2016-06-091-1/+2
| | | | | | | looking for it along $PATH. This allows installs of LLVM tools outside of $PATH to find the symbolizer and produce pretty backtraces if they crash. llvm-svn: 272232
* Make UnitTestMain/TestMain.cpp free from llvm/Config/config.h.NAKAMURA Takumi2015-07-061-3/+2
| | | | | | llvm/Config/config.h is unavailable outside of build tree. llvm-svn: 241523
* Add boolean to PrintStackTraceOnErrorSignal to disable crash reporting.Pete Cooper2015-04-071-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
* Try to fix ProgramTest on FreeBSDReid Kleckner2013-04-301-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 Klimek2013-01-181-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
* Make Win32's header file name lower for cross build on case-sensitive ↵NAKAMURA Takumi2011-02-041-1/+1
| | | | | | filesystem. llvm-svn: 124864
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120298
* Fix MSVC release mode compilation error.Francois Pichet2010-10-021-6/+6
| | | | llvm-svn: 115407
* Fix line endings from my last commit.Michael J. Spencer2010-09-241-3/+3
| | | | llvm-svn: 114728
* unittests: Support Windows.Michael J. Spencer2010-09-241-0/+27
| | | | llvm-svn: 114727
* Move unittest driver to utils/unittest/UnitTestMain.Daniel Dunbar2009-09-131-0/+15
- This eliminates a race between building the unittests and linking the UnitTestMain library. llvm-svn: 81719
OpenPOWER on IntegriCloud