From a427f12c6dae238248955a44f0fb9f91f5db09a3 Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Wed, 25 Mar 2015 14:35:40 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233188 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ExecutionEngine/OrcLazy/trivial_retval_1.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll b/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll index b1234f9a44d..701f22cd390 100644 --- a/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll +++ b/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll @@ -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 -- 2.34.1