COFF: We no longer require lib.exe to test DLL exports.

llvm-svn: 289745
This commit is contained in:
Peter Collingbourne 2016-12-15 00:11:17 +00:00
parent abedf7a0c0
commit c4e9482164
6 changed files with 0 additions and 9 deletions

View File

@ -1,5 +1,4 @@
# REQUIRES: winres
# REQUIRES: winlib
# RUN: yaml2obj < %p/Inputs/export.yaml > %t.obj
# RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 \

View File

@ -1,4 +1,3 @@
# REQUIRES: winlib
# RUN: lld-link /entry:main /out:%t.exe /subsystem:windows \
# RUN: %p/Inputs/ret42.obj /export:main
# RUN: llvm-objdump -p %t.exe | FileCheck %s

View File

@ -2,7 +2,6 @@
#
# RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2
# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK1 %s
# REQUIRES: winlib
CHECK1: Export Table:
CHECK1: DLL name: export.test.tmp.dll

View File

@ -2,7 +2,6 @@
#
# RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2
# RUN: llvm-objdump -p %t.dll | FileCheck -check-prefix=CHECK1 %s
# REQUIRES: winlib
# CHECK1: Export Table:
# CHECK1: DLL name: export32.test.tmp.dll

View File

@ -1,5 +1,4 @@
# REQUIRES: winres
# REQUIRES: winlib
# RUN: yaml2obj < %p/Inputs/export.yaml > %t.obj
# RUN: lld-link /out:%t.dll /dll %t.obj

View File

@ -259,10 +259,6 @@ rc = lit.util.which('rc', config.environment['PATH'])
if cvtres and rc:
config.available_features.add('winres')
# Check if "lib.exe" command exists.
if lit.util.which('lib', config.environment['PATH']):
config.available_features.add('winlib')
# Check if "cpio" command exists.
if lit.util.which('cpio', config.environment['PATH']):
config.available_features.add('cpio')