diff options
-rw-r--r-- | lld/test/ELF/reproduce-win32.s | 12 | ||||
-rw-r--r-- | lld/test/ELF/reproduce-windows.s | 14 |
2 files changed, 8 insertions, 18 deletions
diff --git a/lld/test/ELF/reproduce-win32.s b/lld/test/ELF/reproduce-win32.s deleted file mode 100644 index 25d55df63bd..00000000000 --- a/lld/test/ELF/reproduce-win32.s +++ /dev/null @@ -1,12 +0,0 @@ -# REQUIRES: x86, system-windows - -# RUN: rm -rf %t.dir -# RUN: mkdir -p %t.dir/build -# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.dir/build/foo.o -# RUN: cd %t.dir -# RUN: ld.lld --hash-style=gnu build/foo.o -o bar --reproduce repro -# RUN: cpio -t < repro.cpio | grep -F 'repro\%:t.dir\build\foo.o' - - -.globl _start -_start: - ret diff --git a/lld/test/ELF/reproduce-windows.s b/lld/test/ELF/reproduce-windows.s index 714edfd0ecc..67f88f9cade 100644 --- a/lld/test/ELF/reproduce-windows.s +++ b/lld/test/ELF/reproduce-windows.s @@ -1,8 +1,10 @@ -# REQUIRES: x86 +# REQUIRES: x86, system-windows # Test that we can create a repro archive on windows. -# RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux -# RUN: ld.lld --reproduce %t.repro %t.o -o t -shared -# RUN: cpio -t < %t.repro.cpio | FileCheck %s -# CHECK: {{^[^/\\]*}}.repro{{/|\\}}response.txt -# CHECK-NEXT: .repro{{/|\\}}{{.*}}.o +# RUN: rm -rf %t.dir +# RUN: mkdir -p %t.dir/build +# RUN: llvm-mc %s -o %t.dir/build/foo.o -filetype=obj -triple=x86_64-pc-linux +# RUN: cd %t.dir +# RUN: not ld.lld build/foo.o --reproduce repro +# RUN: cpio -t < repro.cpio | grep -F 'repro\response.txt' +# RUN: cpio -t < repro.cpio | grep -F 'repro\%:t.dir\build\foo.o' |