<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">There is currently an issue in the package manager where `swift test` doesn't always build the most recent content in the repository. This is an artifact of the initial implementation, but it has one mildly useful feature which is that `swift test` will "happen" to build with the flags (-Xlinker, etc.) last passed to `swift build`. See:</div><div class="">&nbsp;&nbsp;<a href="https://github.com/apple/swift-package-manager/pull/494" class="">https://github.com/apple/swift-package-manager/pull/494</a></div><div class="">&nbsp;&nbsp;<a href="https://bugs.swift.org/browse/SR-1135" class="">https://bugs.swift.org/browse/SR-1135</a></div><div class=""><br class=""></div><div class="">I intend to fix this behavior, but please note that this will require everyone who currently needs to build with `-Xlinker&nbsp;` etc. flags to pass them to *both* `swift build` and `swift test`.</div><div class=""><br class=""></div><div class="">I recognize this may be inconvenient in the short term, but it is more important that we fix `swift test` to always build the content present in the repository. The long term goal is, as ever, to provide explicit features instead of users needing to rely on the `-Xlinker` style flags.</div><div class=""><br class=""></div><div class="">&nbsp;- Daniel</div></body></html>