From: Peter Collingbourne Date: Thu, 15 Dec 2016 00:11:17 +0000 (+0000) Subject: COFF: We no longer require lib.exe to test DLL exports. X-Git-Tag: llvmorg-4.0.0-rc1~2053 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4e9482164d3908fd3d62fddce271b4719ee8925;p=platform%2Fupstream%2Fllvm.git COFF: We no longer require lib.exe to test DLL exports. llvm-svn: 289745 --- diff --git a/lld/test/COFF/dll.test b/lld/test/COFF/dll.test index bafd3c2..db4b405 100644 --- a/lld/test/COFF/dll.test +++ b/lld/test/COFF/dll.test @@ -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 \ diff --git a/lld/test/COFF/export-exe.test b/lld/test/COFF/export-exe.test index 7a34516..6d60ce4 100644 --- a/lld/test/COFF/export-exe.test +++ b/lld/test/COFF/export-exe.test @@ -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 diff --git a/lld/test/COFF/export.test b/lld/test/COFF/export.test index 20e069e..e4a094c 100644 --- a/lld/test/COFF/export.test +++ b/lld/test/COFF/export.test @@ -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 diff --git a/lld/test/COFF/export32.test b/lld/test/COFF/export32.test index 86cd27b..79f5daf 100644 --- a/lld/test/COFF/export32.test +++ b/lld/test/COFF/export32.test @@ -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 diff --git a/lld/test/COFF/noentry.test b/lld/test/COFF/noentry.test index 80f387f..5e241e4 100644 --- a/lld/test/COFF/noentry.test +++ b/lld/test/COFF/noentry.test @@ -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 diff --git a/lld/test/lit.cfg b/lld/test/lit.cfg index ab34254..a4105b3 100644 --- a/lld/test/lit.cfg +++ b/lld/test/lit.cfg @@ -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')