llvm.org GIT mirror llvm / d409968
[lit] Add --show-unsupported flag to LIT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213227 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Fiselier 5 years ago
2 changed file(s) with 7 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
155155
156156 * Move temp directory name into local test config.
157157
158 * Add --show-unsupported, don't show by default?
159
160158 * Support valgrind in all configs, and LLVM style valgrind.
161159
162160 * Support a timeout / ulimit.
4141 self.progressBar.update(float(self.completed)/self.numTests,
4242 test.getFullName())
4343
44 if not test.result.code.isFailure and \
45 (self.opts.quiet or self.opts.succinct):
44 shouldShow = test.result.code.isFailure or \
45 (self.opts.show_unsupported and test.result.code.name == 'UNSUPPORTED') or \
46 (not self.opts.quiet and not self.opts.succinct)
47 if not shouldShow:
4648 return
4749
4850 if self.progressBar:
167169 group.add_option("", "--no-progress-bar", dest="useProgressBar",
168170 help="Do not use curses based progress bar",
169171 action="store_false", default=True)
172 group.add_option("", "--show-unsupported", dest="show_unsupported",
173 help="Show unsupported tests",
174 action="store_true", default=False)
170175 parser.add_option_group(group)
171176
172177 group = OptionGroup(parser, "Test Execution")