forked from OSchip/llvm-project
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:
parent
faf78d5665
commit
a620e376e1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue