[llvm-commits] [llvm] r111622 - /llvm/trunk/test/lit.cfg

Bob Wilson bob.wilson at apple.com
Fri Aug 20 07:19:38 PDT 2010


Author: bwilson
Date: Fri Aug 20 09:19:38 2010
New Revision: 111622

URL: http://llvm.org/viewvc/llvm-project?rev=111622&view=rev
Log:
The %ocamlopt setting has embedded quotes.  Copy the entire value instead
of stopping at the first embedded quote.

Modified:
    llvm/trunk/test/lit.cfg

Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=111622&r1=111621&r2=111622&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Fri Aug 20 09:19:38 2010
@@ -111,7 +111,7 @@
 site_exp = {}
 # FIXME: Implement lit.site.cfg.
 for line in open(os.path.join(config.llvm_obj_root, 'test', 'site.exp')):
-    m = re.match('set ([^ ]+) "([^"]*)"', line)
+    m = re.match('set ([^ ]+) "(.*)"', line)
     if m:
         site_exp[m.group(1)] = m.group(2)
 





More information about the llvm-commits mailing list