[Lldb-commits] [lldb] r156931 - /lldb/trunk/test/redo.py
Johnny Chen
johnny.chen at apple.com
Wed May 16 11:32:05 PDT 2012
Author: johnny
Date: Wed May 16 13:32:05 2012
New Revision: 156931
URL: http://llvm.org/viewvc/llvm-project?rev=156931&view=rev
Log:
The redo.py script can take no argument where it uses heuristics to find the latest session directory.
Modified:
lldb/trunk/test/redo.py
Modified: lldb/trunk/test/redo.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/redo.py?rev=156931&r1=156930&r2=156931&view=diff
==============================================================================
--- lldb/trunk/test/redo.py (original)
+++ lldb/trunk/test/redo.py Wed May 16 13:32:05 2012
@@ -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)
More information about the lldb-commits
mailing list