[llvm-commits] [FIX] for clang-X86_64-freebsd buildbot (very small patch, the only string is changed)

Benjamin Kramer benny.kra at gmail.com
Wed Jul 11 13:00:00 PDT 2012


On 11.07.2012, at 21:55, Stepan Dyatkovskiy <stpworld at narod.ru> wrote:

> Index: test/Bitcode/2012-05-07-SwitchInstRangesSupport.ll
> ===================================================================
> --- test/Bitcode/2012-05-07-SwitchInstRangesSupport.ll	(revision 160066)
> +++ test/Bitcode/2012-05-07-SwitchInstRangesSupport.ll	(working copy)
> @@ -6,7 +6,7 @@
>  ; RUN: llvm-dis %t.bc -o - | tail -n +2 > %t.ll
>  ; RUN: llvm-as %t.ll -o %t2.bc
>  ; RUN: llvm-dis %t2.bc -o - | tail -n +2 > %t2.ll
> -; RUN: diff %t.ll %t2.ll | not grep .*
> +; RUN: diff %t.ll %t2.ll | not grep ^.*$

diff returns 1 (error) when there is a difference so you can drop the "| not grep ^.*$" part here.

- Ben





More information about the llvm-commits mailing list