The %ocamlopt setting has embedded quotes. Copy the entire value instead
authorBob Wilson <bob.wilson@apple.com>
Fri, 20 Aug 2010 14:19:38 +0000 (14:19 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 20 Aug 2010 14:19:38 +0000 (14:19 +0000)
of stopping at the first embedded quote.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111622 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 9500aae8948e0bef1c5dc20b0625248abb88a6da..28f336ba20c556cd7d3eb6e63235a6733a322e40 100644 (file)
@@ -111,7 +111,7 @@ import re
 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)