[llvm] r233188 - Make exit-code test use same mechanism as existing one.
Lang Hames
lhames at gmail.com
Thu Mar 26 20:17:28 PDT 2015
Thanks very much for the fix Daniel!
Cheers,
Lang.
On Thu, Mar 26, 2015 at 1:35 AM, Daniel Jasper <djasper at google.com> wrote:
> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150327/cd6adfef/attachment.html>
More information about the llvm-commits
mailing list