Make exit-code test use same mechanism as existing one.

The other version doesn't properly work with our internal test runner,
which sets pipefail.

llvm-svn: 233188
This commit is contained in:
Daniel Jasper 2015-03-25 14:35:40 +00:00
parent f275ad8af1
commit 1c012293c8
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
; RUN: lli -jit-kind=orc-lazy %s; [ $? -eq 30 ]
; RUN: sh -c 'lli -jit-kind=orc-lazy %s; echo $?' | FileCheck %s
; CHECK: {{^30$}}
define i32 @baz() {
entry:
ret i32 2