The redo.py script can take no argument where it uses heuristics to find the latest...
authorJohnny Chen <johnny.chen@apple.com>
Wed, 16 May 2012 18:32:05 +0000 (18:32 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Wed, 16 May 2012 18:32:05 +0000 (18:32 +0000)
llvm-svn: 156931

lldb/test/redo.py

index 7e798a5..e8ca91b 100755 (executable)
@@ -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)