[dsymutil] Fix test patterns.
authorFrederic Riss <friss@apple.com>
Wed, 5 Aug 2015 18:45:13 +0000 (18:45 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 5 Aug 2015 18:45:13 +0000 (18:45 +0000)
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

test/tools/dsymutil/fat-binary-output.test

index ca631e4..29d4904 100644 (file)
@@ -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