[llvm] r204900 - Fixed test for r204899 (pr18931 fix)

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Mar 27 09:05:31 PDT 2014


Why do you need the temporary file? llvm-objdump is able to read from stdin.

On 27 March 2014 04:20, Stepan Dyatkovskiy <stpworld at narod.ru> wrote:
> Author: dyatkovskiy
> Date: Thu Mar 27 03:20:26 2014
> New Revision: 204900
>
> URL: http://llvm.org/viewvc/llvm-project?rev=204900&view=rev
> Log:
> Fixed test for r204899 (pr18931 fix)
>
> Modified:
>     llvm/trunk/test/MC/ARM/cmp-immediate-fixup.s
>
> Modified: llvm/trunk/test/MC/ARM/cmp-immediate-fixup.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/cmp-immediate-fixup.s?rev=204900&r1=204899&r2=204900&view=diff
> ==============================================================================
> --- llvm/trunk/test/MC/ARM/cmp-immediate-fixup.s (original)
> +++ llvm/trunk/test/MC/ARM/cmp-immediate-fixup.s Thu Mar 27 03:20:26 2014
> @@ -1,6 +1,6 @@
>  // PR18931
> -// RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj -o - \
> -// RUN: | llvm-objdump --disassemble -arch=arm - | FileCheck %s
> +// RUN: llvm-mc %s -triple=arm-linux-gnueabi -filetype=obj -o %t
> +// RUN: llvm-objdump --disassemble -arch=arm %t | FileCheck %s
>
>      .text
>  // CHECK: cmp r2, #1
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list