mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
[lit] Add --show-unsupported flag to LIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
adcb2d1636
commit
d409968d60
@ -156,8 +156,6 @@ Miscellaneous
|
||||
|
||||
* Move temp directory name into local test config.
|
||||
|
||||
* Add --show-unsupported, don't show by default?
|
||||
|
||||
* Support valgrind in all configs, and LLVM style valgrind.
|
||||
|
||||
* Support a timeout / ulimit.
|
||||
|
@ -42,8 +42,10 @@ class TestingProgressDisplay(object):
|
||||
self.progressBar.update(float(self.completed)/self.numTests,
|
||||
test.getFullName())
|
||||
|
||||
if not test.result.code.isFailure and \
|
||||
(self.opts.quiet or self.opts.succinct):
|
||||
shouldShow = test.result.code.isFailure or \
|
||||
(self.opts.show_unsupported and test.result.code.name == 'UNSUPPORTED') or \
|
||||
(not self.opts.quiet and not self.opts.succinct)
|
||||
if not shouldShow:
|
||||
return
|
||||
|
||||
if self.progressBar:
|
||||
@ -168,6 +170,9 @@ def main(builtinParameters = {}):
|
||||
group.add_option("", "--no-progress-bar", dest="useProgressBar",
|
||||
help="Do not use curses based progress bar",
|
||||
action="store_false", default=True)
|
||||
group.add_option("", "--show-unsupported", dest="show_unsupported",
|
||||
help="Show unsupported tests",
|
||||
action="store_true", default=False)
|
||||
parser.add_option_group(group)
|
||||
|
||||
group = OptionGroup(parser, "Test Execution")
|
||||
|
Loading…
x
Reference in New Issue
Block a user