diff --git a/tests/run.rb b/tests/run.rb index ecd8485a4..1ebff095b 100755 --- a/tests/run.rb +++ b/tests/run.rb @@ -57,9 +57,13 @@ def main tests = controller.results.results.keys.collect { |e| re.match(e) ? $1 : nil }.compact error_and_exit "No tests matched RE #{re}" if tests.empty? tests.each { |e| controller.add_test_case e } + elsif ((arg == "-F" || (arg == "--list-failed"))) + controller.list_failed_ids + exit 0 elsif ((arg == "-h") || (arg == "--help")) puts <