[Lldb-commits] [lldb] r165507 - /lldb/trunk/test/redo.py

Greg Clayton gclayton at apple.com
Tue Oct 9 09:54:55 PDT 2012


Author: gclayton
Date: Tue Oct  9 11:54:55 2012
New Revision: 165507

URL: http://llvm.org/viewvc/llvm-project?rev=165507&view=rev
Log:
Fixed the redo.py script to emit correct arch and compiler options after dotest.py was switched over to use argparse.


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=165507&r1=165506&r2=165507&view=diff
==============================================================================
--- lldb/trunk/test/redo.py (original)
+++ lldb/trunk/test/redo.py Tue Oct  9 11:54:55 2012
@@ -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)





More information about the lldb-commits mailing list