[swift-corelibs-dev] [xctest] New dependency upon corelibs-foundation
modocache at gmail.com
Tue Mar 8 22:37:07 CST 2016
Just now I pushed support for asynchronous test expectations to
This adds a new dependency, between corelibs-xctest and
corelibs-foundation. What does this mean for you?
- If you're a contributor to corelibs-xctest: Please use the new
'--foundation-build-dir' parameter when invoking the project
build_script.py directly. See the README for details. The Swift
utils/build-script works just as before.
- If you're a contributor to swift-package-manager: Please use the new
'--foundation' parameter when invoking Utilities/bootstrap to test the
project. The Swift utils/build-script works just as before.
- If you're using corelibs-xctest via the swift-package-manager: The 'swift
test' command works just as before.
- If you're using corelibs-xctest outside of the swift-package-manager:
When invoking executables that run XCTMain(), you'll need to (1) link
XCTest, (2) link Foundation, and (3) include the Foundation and
CoreFoundation public headers. For example, here's the swiftc invocation we
use to compile and run the corelibs-xctest functional tests:
-Xlinker -rpath -Xlinker /path/to/xctest-linux-x86_64 \
-L /path/to/xctest-linux-x86_64 \
-I /path/to/xctest-linux-x86_64 \
-Xlinker -rpath -Xlinker
-L /path/to/foundation-linux-x86_64/Foundation \
-I /path/to/foundation-linux-x86_64/Foundation \
Please email this list or file issues on https://bugs.swift.org if you have
any comments, questions, or problems. Thanks--and enjoy asynchronous
- Brian Gesiak
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-corelibs-dev