[llvm] r233188 - Make exit-code test use same mechanism as existing one.
Daniel Jasper
djasper at google.com
Wed Mar 25 07:35:40 PDT 2015
Author: djasper
Date: Wed Mar 25 09:35:40 2015
New Revision: 233188
URL: http://llvm.org/viewvc/llvm-project?rev=233188&view=rev
Log:
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.
Modified:
llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll
Modified: llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll?rev=233188&r1=233187&r2=233188&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll Wed Mar 25 09:35:40 2015
@@ -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
More information about the llvm-commits
mailing list