Fixed the redo.py script to emit correct arch and compiler options after dotest.py was switched over to use argparse.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165507 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/redo.py b/test/redo.py
index acb5aa4..2cbdd4e 100755
--- a/test/redo.py
+++ b/test/redo.py
@@ -169,12 +169,14 @@
usage()
filters = " -f ".join(redo_specs)
- compilers = (" -C %s" % "^".join(comp_specs)) if comp_specs else None
- archs = (" -A %s" % "^".join(arch_specs)) if arch_specs else None
+ compilers = ''
+ for comp in comp_specs:
+ compilers += " -C %s" % (comp)
+ archs = ''
+ for arch in arch_specs:
+ archs += "--arch %s " % (arch)
- command = "./dotest.py %s %s -v %s -f " % (compilers if compilers else "",
- archs if archs else "",
- "" if no_trace else "-t")
+ command = "./dotest.py %s %s -v %s -f " % (compilers, archs, "" if no_trace else "-t")
print "Running %s" % (command + filters)