From: Frederic Riss <friss@apple.com>
Date: Wed, 5 Aug 2015 18:45:13 +0000 (+0000)
Subject: [dsymutil] Fix test patterns.
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edcd9600c0aaf77af7276fd765bb8ee546b2404c;p=llvm

[dsymutil] Fix test patterns.

Depending on the filesystem paths, the YAML dump might quote paths.
Account for that in the regex patterns.

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

diff --git a/test/tools/dsymutil/fat-binary-output.test b/test/tools/dsymutil/fat-binary-output.test
index ca631e41d8b..29d49041453 100644
--- a/test/tools/dsymutil/fat-binary-output.test
+++ b/test/tools/dsymutil/fat-binary-output.test
@@ -11,15 +11,15 @@ After the link of each architecture, check that lipo is correctly invoked to
 generate the fat output binary.
 
 CHECK: triple:          'x86_64-apple-darwin'
-CHECK:   - filename:        [[INPUTS_PATH:.*]]fat-test.o
+CHECK:   - filename:        {{'?}}[[INPUTS_PATH:.*]]fat-test.o
 CHECK:   DW_AT_name{{.*}} "x86_64_var"
 
 CHECK: triple:          'i386-apple-darwin'
-CHECK:   - filename:        [[INPUTS_PATH]]fat-test.o
+CHECK:   - filename:        {{'?}}[[INPUTS_PATH]]fat-test.o
 CHECK:   DW_AT_name{{.*}} "i386_var"
 
 CHECK: triple:          'x86_64h-apple-darwin'
-CHECK:   - filename:        [[INPUTS_PATH]]fat-test.o
+CHECK:   - filename:        {{'?}}[[INPUTS_PATH]]fat-test.o
 CHECK:   DW_AT_name{{.*}} "x86_64h_var"
 
 CHECK: Running lipo