COFF: We no longer require lib.exe to test DLL exports.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 15 Dec 2016 00:11:17 +0000 (00:11 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 15 Dec 2016 00:11:17 +0000 (00:11 +0000)
llvm-svn: 289745

lld/test/COFF/dll.test
lld/test/COFF/export-exe.test
lld/test/COFF/export.test
lld/test/COFF/export32.test
lld/test/COFF/noentry.test
lld/test/lit.cfg

index bafd3c2..db4b405 100644 (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 \
index 7a34516..6d60ce4 100644 (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
index 20e069e..e4a094c 100644 (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
index 86cd27b..79f5daf 100644 (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
index 80f387f..5e241e4 100644 (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
index ab34254..a4105b3 100644 (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')