From: Frederic Riss Date: Wed, 5 Aug 2015 18:45:13 +0000 (+0000) Subject: [dsymutil] Fix test patterns. X-Git-Tag: studio-1.4~800 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e3278633dd4a203bbcda2f630eeb6cfef1317a3;p=platform%2Fupstream%2Fllvm.git [dsymutil] Fix test patterns. Depending on the filesystem paths, the YAML dump might quote paths. Account for that in the regex patterns. llvm-svn: 244094 --- diff --git a/llvm/test/tools/dsymutil/fat-binary-output.test b/llvm/test/tools/dsymutil/fat-binary-output.test index ca631e4..29d4904 100644 --- a/llvm/test/tools/dsymutil/fat-binary-output.test +++ b/llvm/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