parser.add_option("--without", type=str,
help="regexp to exclude (case-sensitive by default)",
action="append", dest="without_regexps")
+# TODO: This could be done as a callback to allow following options to override
+# parts. As is, we just use it as a big hammer...
+parser.add_option("-F", "--only-genuine-failures", action="store_true",
+ default=False,
+ help="Only pass through failures and exceptions.")
(options, args) = parser.parse_args()
+if options.only_genuine_failures:
+ options.success = True
+ options.skip = True
+ options.xfail = True
+ options.no_passthrough = True
+ # options.error = False
+ # options.failures = False
def _compile_re_from_list(l):