Index: llvm/trunk/test/ExecutionEngine/MCJIT/weak-function.ll =================================================================== --- llvm/trunk/test/ExecutionEngine/MCJIT/weak-function.ll +++ llvm/trunk/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' Index: llvm/trunk/test/ExecutionEngine/OrcMCJIT/weak-function.ll =================================================================== --- llvm/trunk/test/ExecutionEngine/OrcMCJIT/weak-function.ll +++ llvm/trunk/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'. Index: llvm/trunk/test/lit.cfg.py =================================================================== --- llvm/trunk/test/lit.cfg.py +++ llvm/trunk/test/lit.cfg.py @@ -179,10 +179,12 @@ 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.