Merge two tests for the same purpose.

I accidentally added another test file as I didn't notice
that the test file existed.

llvm-svn: 268598
This commit is contained in:
Rui Ueyama 2016-05-05 02:32:09 +00:00
parent 9e95da77f9
commit ca16c104c6
2 changed files with 8 additions and 18 deletions

View File

@ -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

View File

@ -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'