[PATCH] D26445: [ELF] - Enable reproduce-error.s test under windows

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 05:35:36 PST 2016


LGTM if it works :-)

On 9 November 2016 at 06:50, George Rimar <grimar at accesssoftek.com> wrote:
> grimar created this revision.
> grimar added reviewers: ruiu, rafael.
> grimar added subscribers: llvm-commits, grimar, evgeny777.
>
> I might be missing something, but is seems we can enable it,
> like this patch do.
>
>
> https://reviews.llvm.org/D26445
>
> Files:
>   test/ELF/reproduce-error.s
>
>
> Index: test/ELF/reproduce-error.s
> ===================================================================
> --- test/ELF/reproduce-error.s
> +++ test/ELF/reproduce-error.s
> @@ -1,5 +1,4 @@
> -# Extracting the cpio archive can get over the path limit on windows.
> -# REQUIRES: shell
> +# REQUIRES: x86, cpio
>
>  # RUN: rm -rf %t.dir
>  # RUN: mkdir -p %t.dir
> @@ -9,7 +8,8 @@
>  # CHECK: cannot open abc: {{N|n}}o such file or directory
>
>  # RUN: grep TRAILER repro.cpio
> -# RUN: cpio -id < repro.cpio
> -# RUN: FileCheck --check-prefix=RSP %s < repro/response.txt
> +# RUN: echo "*response.txt" > list.txt
> +# RUN: cpio -i --to-stdout --pattern-file=list.txt < repro.cpio \
> +# RUN:   | FileCheck %s --check-prefix=RSP
>  # RSP: abc
>  # RSP: -o t
>
>


More information about the llvm-commits mailing list