From edcd9600c0aaf77af7276fd765bb8ee546b2404c Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Wed, 5 Aug 2015 18:45:13 +0000 Subject: [PATCH] [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 --- test/tools/dsymutil/fat-binary-output.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.34.1