[lld] r286364 - [ELF] - Enable reproduce-error.s under windows.

Alex L via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 10:21:43 PST 2016


I think this lead to coverage bot failure on green dragon (
http://lab.llvm.org:8080/green/job/clang-stage2-coverage-R_check/282/consoleFull#12118134328254eaf0-7326-4999-85b0-388101f2d404
).

That's the output:

echo "*response.txt" > list.txt cpio -i --to-stdout --pattern-file=list.txt
< repro.cpio |
/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R at 2/clang-build/./bin/FileCheck
/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R at 2/llvm/tools/lld/test/ELF/reproduce-error.s
--check-prefix=RSP -- Exit Code: 2 Command Output (stdout): -- Binary file
repro.cpio matches -- Command Output (stderr): -- cpio: Option --to-stdout
is not supported Brief Usage: List: cpio -it < archive Extract: cpio -i <
archive Create: cpio -o < filenames > archive Help: cpio --help FileCheck
error: '-' is empty. FileCheck command line:
/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R at 2/clang-build/./bin/FileCheck
/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R at 2/llvm/tools/lld/test/ELF/reproduce-error.s
--check-prefix=RSP --

On 9 November 2016 at 13:55, George Rimar via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: grimar
> Date: Wed Nov  9 07:55:30 2016
> New Revision: 286364
>
> URL: http://llvm.org/viewvc/llvm-project?rev=286364&view=rev
> Log:
> [ELF] - Enable reproduce-error.s under windows.
>
> Differential revision: https://reviews.llvm.org/D26445
>
> Modified:
>     lld/trunk/test/ELF/reproduce-error.s
>
> Modified: lld/trunk/test/ELF/reproduce-error.s
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/
> reproduce-error.s?rev=286364&r1=286363&r2=286364&view=diff
> ============================================================
> ==================
> --- lld/trunk/test/ELF/reproduce-error.s (original)
> +++ lld/trunk/test/ELF/reproduce-error.s Wed Nov  9 07:55:30 2016
> @@ -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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161109/103d92b1/attachment.html>


More information about the llvm-commits mailing list