diff options
author | Dan Gohman <gohman@apple.com> | 2007-10-11 23:04:36 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-10-11 23:04:36 +0000 |
commit | 68ac767e1e3632fd4b6e39707c6844bd131563a4 (patch) | |
tree | c40802d59ca0ccbdc0d21bc657a75a6b7d9bd5e3 | |
parent | 0b22da3d7361f94c3811f2e7d603bb3513dc3d1c (diff) |
Add an explicit target triple to make this test behave as expected on
non-Apple hosts. And use the count script instead of wc + grep.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42878 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll b/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll index f406612e42..4c2e7db759 100644 --- a/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll +++ b/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86 -enable-eh | grep {isNullOrNil].eh"} | wc -l | grep 2 +; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin -enable-eh | grep {isNullOrNil].eh"} | count 2 %struct.NSString = type { } %struct._objc__method_prototype_list = type opaque |