hanchenye-llvm-project/lldb/test
Greg Clayton 3bcdfc0ec1 <rdar://problem/12798131>
Cleaned up the option parsing code to always pass around the short options as integers. Previously we cast this down to "char" and lost some information. I recently added an assert that would detect duplicate short character options which was firing during the test suite.

This fix does the following:
- make sure all short options are treated as "int"
- make sure that short options can be non-printable values when a short option is not required or when an option group is mixed into many commands and a short option is not desired
- fix the help printing to "do the right thing" in all cases. Previously if there were duplicate short character options, it would just not emit help for the duplicates
- fix option parsing when there are duplicates to parse options correctly. Previously the option parsing, when done for an OptionGroup, would just start parsing options incorrectly by omitting table entries and it would end up setting the wrong option value

llvm-svn: 169189
2012-12-04 00:32:51 +00:00
..
api/check_public_api_headers Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
arm_emulation <rdar://problem/11358639> 2012-05-08 01:45:38 +00:00
attic Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
benchmarks
example Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
expression_command <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
functionalities <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
help Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
lang <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
logging Linux test case fixes 2012-11-21 20:12:12 +00:00
macosx Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
make Compile shared libraries with dSYM files when requested on darwin. Prior to this, we never had dSYM files for shared libraries unless it was a dylib only Makefile. 2012-09-20 21:43:11 +00:00
pexpect-2.4
plugins Fix the wrong comment in TestUUIDMismatchWarnings.py. 2012-08-20 22:36:58 +00:00
python_api Remove decorator to skip event tests 2012-11-23 22:10:20 +00:00
settings Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
source-manager Fix a test failure caused by checkin 165274. 2012-10-05 19:14:57 +00:00
terminal Continue the cleanup started on r158737 2012-06-20 10:13:40 +00:00
types <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
unittest2
warnings/uuid Make TestAddDsymCommand not fail since bundles were accepted as add-dsym arguments. 2012-09-12 14:43:45 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
Makefile Makefile patches from Charles Davis and Daniel Malea (+ one or two tweaks). 2012-11-01 18:55:16 +00:00
README-TestSuite
bench-history
bench.py
blacklist.py
dosep.ty
dotest.py Skip dsym tests on Linux 2012-11-20 16:07:33 +00:00
lldbbench.py
lldbtest.py The skipOnLinux decorator wasn't calling the test method correctly (no need to pass in the "self") resulting 2012-11-27 01:21:28 +00:00
lldbutil.py Remove a couple of debugging printf's from the testsuite. 2012-09-24 18:11:54 +00:00
redo.py Fixed the redo.py script to emit correct arch and compiler options after dotest.py was switched over to use argparse. 2012-10-09 16:54:55 +00:00