[llvm] r244094 - [dsymutil] Fix test patterns.
Frederic Riss
friss at apple.com
Wed Aug 5 11:45:14 PDT 2015
Author: friss
Date: Wed Aug 5 13:45:13 2015
New Revision: 244094
URL: http://llvm.org/viewvc/llvm-project?rev=244094&view=rev
Log:
[dsymutil] Fix test patterns.
Depending on the filesystem paths, the YAML dump might quote paths.
Account for that in the regex patterns.
Modified:
llvm/trunk/test/tools/dsymutil/fat-binary-output.test
Modified: llvm/trunk/test/tools/dsymutil/fat-binary-output.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/dsymutil/fat-binary-output.test?rev=244094&r1=244093&r2=244094&view=diff
==============================================================================
--- llvm/trunk/test/tools/dsymutil/fat-binary-output.test (original)
+++ llvm/trunk/test/tools/dsymutil/fat-binary-output.test Wed Aug 5 13:45:13 2015
@@ -11,15 +11,15 @@ After the link of each architecture, che
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
More information about the llvm-commits
mailing list