<div dir="ltr">Thanks very much for the fix Daniel!<div><br></div><div>Cheers,</div><div>Lang.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 26, 2015 at 1:35 AM, Daniel Jasper <span dir="ltr"><<a href="mailto:djasper@google.com" target="_blank">djasper@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: djasper<br>
Date: Wed Mar 25 09:35:40 2015<br>
New Revision: 233188<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=233188&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=233188&view=rev</a><br>
Log:<br>
Make exit-code test use same mechanism as existing one.<br>
<br>
The other version doesn't properly work with our internal test runner,<br>
which sets pipefail.<br>
<br>
Modified:<br>
llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll<br>
<br>
Modified: llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll?rev=233188&r1=233187&r2=233188&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll?rev=233188&r1=233187&r2=233188&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll (original)<br>
+++ llvm/trunk/test/ExecutionEngine/OrcLazy/trivial_retval_1.ll Wed Mar 25 09:35:40 2015<br>
@@ -1,4 +1,5 @@<br>
-; RUN: lli -jit-kind=orc-lazy %s; [ $? -eq 30 ]<br>
+; RUN: sh -c 'lli -jit-kind=orc-lazy %s; echo $?' | FileCheck %s<br>
+; CHECK: {{^30$}}<br>
define i32 @baz() {<br>
entry:<br>
ret i32 2<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>