From a620e376e1ad553a6af547a771d7ae193b73ff3e Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Wed, 16 May 2012 18:32:05 +0000 Subject: [PATCH] The redo.py script can take no argument where it uses heuristics to find the latest session directory. llvm-svn: 156931 --- lldb/test/redo.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lldb/test/redo.py b/lldb/test/redo.py index 7e798a5a2747..e8ca91b5ae76 100755 --- a/lldb/test/redo.py +++ b/lldb/test/redo.py @@ -117,9 +117,6 @@ def main(): print "This script expects to reside in lldb's test directory." sys.exit(-1) - if not len(sys.argv) > 1: - usage() - index = 1 while index < len(sys.argv): if sys.argv[index].startswith('-h'): @@ -166,7 +163,7 @@ def main(): os.path.walk(session_dir_path, redo, ".log") if not redo_specs: - print "No failures/errors recorded within the session directory, please specify a different session directory." + print "No failures/errors recorded within the session directory, please specify a different session directory.\n" usage() filters = " -f ".join(redo_specs)