[swift-users] XCTest on Linux

Stepan Hruda stepan.hruda at gmail.com
Mon Dec 7 23:26:08 CST 2015


I’m having a hard time linking against XCTest on Linux. The absolute
minimal example:

import XCTest
XCTMain([])

being run through `swift main.swift` outputs "LLVM ERROR: Program used
external function '_TF6XCTest7XCTMainFGSaPS_10XCTestCase__T_' which could
not be resolved!”.

Could anyone nudge me in the right direction?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151208/00e08d01/attachment.html>


More information about the swift-users mailing list