The redo.py script can take no argument where it uses heuristics to find the latest session directory.

llvm-svn: 156931
This commit is contained in:
Johnny Chen 2012-05-16 18:32:05 +00:00
parent faf78d5665
commit a620e376e1
1 changed files with 1 additions and 4 deletions

View File

@ -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)