The redo.py script can take no argument where it uses heuristics to find the latest session directory.
llvm-svn: 156931
diff --git a/lldb/test/redo.py b/lldb/test/redo.py
index 7e798a5..e8ca91b 100755
--- a/lldb/test/redo.py
+++ b/lldb/test/redo.py
@@ -117,9 +117,6 @@
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 @@
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)