aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2011-10-15 18:07:16 +0000
committerNico Weber <nicolasweber@gmx.de>2011-10-15 18:07:16 +0000
commite688f8896b0ae68bf9581f7900740f9eb0040c72 (patch)
treeb47b9c9fe878a4d2905eda43dea8eaadead9e6dd /test/Linker
parent003fad98ccf88c3d44688e8cb73b90d766e4705b (diff)
downloadexternal_llvm-e688f8896b0ae68bf9581f7900740f9eb0040c72.zip
external_llvm-e688f8896b0ae68bf9581f7900740f9eb0040c72.tar.gz
external_llvm-e688f8896b0ae68bf9581f7900740f9eb0040c72.tar.bz2
Let this test pass even if 'int' is somewhere in its directory path.
On my machine, grep matched: ; ModuleID = '/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/test/Linker/2011-08-18-unique-debug-type.ll' !9 = metadata !{i32 720932, null, metadata !"int", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] Explicitly filter out the ModuleID line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/2011-08-18-unique-debug-type.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Linker/2011-08-18-unique-debug-type.ll b/test/Linker/2011-08-18-unique-debug-type.ll
index 4ef0e0e..696fdb3 100644
--- a/test/Linker/2011-08-18-unique-debug-type.ll
+++ b/test/Linker/2011-08-18-unique-debug-type.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-link %s %p/2011-08-18-unique-debug-type2.ll -S -o - | grep "int" | count 1
+; RUN: llvm-link %s %p/2011-08-18-unique-debug-type2.ll -S -o - | grep "int" | grep -v "^; ModuleID" | count 1
; Test to check only one MDNode for "int" after linking.
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-apple-macosx10.7.0"