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

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 05:55:31 PST 2016


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




More information about the llvm-commits mailing list