From 6e3278633dd4a203bbcda2f630eeb6cfef1317a3 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. llvm-svn: 244094 --- llvm/test/tools/dsymutil/fat-binary-output.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.7.4