Add basic command line parsing to TestMain.
authorManuel Klimek <klimek@google.com>
Fri, 18 Jan 2013 10:18:50 +0000 (10:18 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 18 Jan 2013 10:18:50 +0000 (10:18 +0000)
commitdeb318745ddf34ba983d1f292a136ec5ea0b6008
tree812b84484e9070f23e714ae06071c52cdc5fab3d
parent5141d97d3ee9afca936bc870e67c53e1ed05f790
Add basic command line parsing to TestMain.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172801 91177308-0d34-0410-b5e6-96231b3b80d8
utils/unittest/UnitTestMain/TestMain.cpp