From: Paul Robinson Date: Tue, 14 May 2019 14:51:54 +0000 (+0000) Subject: Replace lit feature keyword 'not_COFF' with 'uses_COFF'. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fadded4b3552cf84b72c42d533a6f4c8949bcbc;p=llvm Replace lit feature keyword 'not_COFF' with 'uses_COFF'. Differential Revision: https://reviews.llvm.org/D61791 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360680 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/ExecutionEngine/MCJIT/weak-function.ll b/test/ExecutionEngine/MCJIT/weak-function.ll index 843fb4ab3c1..e0e01a816e2 100644 --- a/test/ExecutionEngine/MCJIT/weak-function.ll +++ b/test/ExecutionEngine/MCJIT/weak-function.ll @@ -1,5 +1,5 @@ ; RUN: lli -jit-kind=mcjit -extra-module %p/Inputs/weak-function-2.ll %s -; REQUIRES: not_COFF +; UNSUPPORTED: uses_COFF ; ; Check that functions in two different modules agree on the address of weak ; function 'baz' diff --git a/test/ExecutionEngine/OrcMCJIT/weak-function.ll b/test/ExecutionEngine/OrcMCJIT/weak-function.ll index a367ce6a6ba..75ad2c7cfb2 100644 --- a/test/ExecutionEngine/OrcMCJIT/weak-function.ll +++ b/test/ExecutionEngine/OrcMCJIT/weak-function.ll @@ -1,5 +1,5 @@ ; RUN: lli -jit-kind=orc-mcjit -extra-module %p/Inputs/weak-function-2.ll %s -; REQUIRES: not_COFF +; UNSUPPORTED: uses_COFF ; ; Check that functions in two different modules agree on the address of weak ; function 'baz'. diff --git a/test/lit.cfg.py b/test/lit.cfg.py index a67bd6527a5..5a4b1e8579e 100644 --- a/test/lit.cfg.py +++ b/test/lit.cfg.py @@ -179,10 +179,12 @@ if (config.host_ldflags.find("-m32") < 0 config.available_features.add("host-byteorder-" + sys.byteorder + "-endian") -# Others/can-execute.txt -if sys.platform not in ['win32']: +if sys.platform in ['win32']: + # ExecutionEngine, no weak symbols in COFF. + config.available_features.add('uses_COFF') +else: + # Others/can-execute.txt config.available_features.add('can-execute') - config.available_features.add('not_COFF') # Loadable module # FIXME: This should be supplied by Makefile or autoconf.