[llvm] r206193 - Fix 2008-03-05-SxtInRegBug.ll so that the CHECK-NOT will not match the filename.
Duncan P. N. Exon Smith
dexonsmith at apple.com
Wed Apr 16 22:30:58 PDT 2014
On 2014 Apr 16, at 18:10, Reid Kleckner <rnk at google.com> wrote:
> On Wed, Apr 16, 2014 at 2:01 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Richard Trieu wrote:
> Author: rtrieu
> Date: Mon Apr 14 11:53:50 2014
> New Revision: 206193
>
> URL: http://llvm.org/viewvc/llvm-project?rev=206193&view=rev
> Log:
> Fix 2008-03-05-SxtInRegBug.ll so that the CHECK-NOT will not match the filename.
>
> Modified:
> llvm/trunk/test/CodeGen/ARM/2008-03-05-SxtInRegBug.ll
>
> Modified: llvm/trunk/test/CodeGen/ARM/2008-03-05-SxtInRegBug.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2008-03-05-SxtInRegBug.ll?rev=206193&r1=206192&r2=206193&view=diff
> ==============================================================================
> --- llvm/trunk/test/CodeGen/ARM/2008-03-05-SxtInRegBug.ll (original)
> +++ llvm/trunk/test/CodeGen/ARM/2008-03-05-SxtInRegBug.ll Mon Apr 14 11:53:50 2014
> @@ -14,4 +14,6 @@ bb3: ; preds = %bb1
> }
>
> ; CHECK-NOT: 255
> +; CHECK: .file{{.*}}SxtInRegBug.ll
>
> Same suggestion, use "< %s" in the RUN line. And +cc Saleem, again.
>
> If it's all the same, I much prefer to avoid using < %s. It makes the failling lit test command copy-pastable, at least in my shell.
Since the LLVM standard practice is to use "< %s" [1], whether to avoid
it should probably be a discussion on llvmdev.
[1]: http://llvm.org/docs/TestingGuide.html#fragile-tests
More information about the llvm-commits
mailing list