Those tests don&#39;t work on non-macOS yet. I suspect the problem is simply that they are conditionalized on not-Linux vs only-macOS, but they probably shouldn&#39;t be running. <div><br></div><div> - Daniel<span></span><br><br>On Tuesday, August 16, 2016, Vivian Kong via swift-build-dev &lt;<a href="mailto:swift-build-dev@swift.org">swift-build-dev@swift.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p>I ran into these 2 failing test cases in TestToolTests when I ran the SwiftPM tests on s390x.  I&#39;m looking for hints on how to fix this as I&#39;m not sure why the Foundation and XCTest module can&#39;t be found.<br><br>Thanks and I appreciate the help!<br><br>Test Case &#39;TestToolTests.testVersion&#39; started at 18:01:42.018<br>**** FAILURE EXECUTING SUBPROCESS ****<br>command: /localbox/vivkong/swift3/<wbr>build/Ninja-<wbr>RelWithDebInfoAssert/swiftpm-<wbr>linux-s390x/debug/swift-test --version<br>SWIFT_EXEC: nil<br>output: Compile Swift Module &#39;Basic&#39; (20 sources)<br>Compile Swift Module &#39;POSIXTests&#39; (2 sources)<br>Compile Swift Module &#39;PackageDescriptionTests&#39; (3 sources)<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/POSIXTests/<wbr>XCTestManifests.swift:11:8: error: no such module &#39;XCTest&#39;<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/POSIXTests/<wbr>XCTestManifests.swift:11:8: error: no such module &#39;XCTest&#39;<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/<wbr>PackageDescriptionTests/<wbr>XCTestManifests.swift:11:8: error: no such module &#39;XCTest&#39;<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/<wbr>PackageDescriptionTests/<wbr>XCTestManifests.swift:11:8: error: no such module &#39;XCTest&#39;<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/<wbr>PackageDescriptionTests/<wbr>XCTestManifests.swift:11:8: error: no such module &#39;XCTest&#39;<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module &#39;Foundation&#39;<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module &#39;Foundation&#39;<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module &#39;Foundation&#39;<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module &#39;Foundation&#39;<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module &#39;Foundation&#39;<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module &#39;Foundation&#39;<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module &#39;Foundation&#39;<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module &#39;Foundation&#39;<br>import class Foundation.FileHandle<br>             ^<br>&lt;unknown&gt;:0: error: build had 3 command failures<br>swift-test: error: exit(-1263376016): /localbox/vivkong/swift3/<wbr>build/Ninja-<wbr>RelWithDebInfoAssert/swiftpm-<wbr>linux-s390x/debug/swift-build-<wbr>tool -f /localbox/vivkong/swift3/<wbr>swiftpm/.build/debug.yaml test<br><br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/CommandsTests/<wbr>TestToolTests.swift:26: error: TestToolTests.testVersion : XCTAssertTrue threw error &quot;exit(152): /localbox/vivkong/swift3/<wbr>build/Ninja-<wbr>RelWithDebInfoAssert/swiftpm-<wbr>linux-s390x/debug/swift-test --version&quot; - <br>Test Case &#39;TestToolTests.testVersion&#39; failed (1.2 seconds).<br>Test Suite &#39;TestToolTests&#39; failed at 18:01:43.218<br>         Executed 2 tests, with 2 failures (2 unexpected) in 2.248 (2.248) seconds<br><br>Regards,<br><br>Vivian Kong<br>Software Developer<br>IBM Canada Toronto Lab<br>
</p></div>
</blockquote></div>