Those tests don'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't be running. <div><br></div><div> - Daniel<span></span><br><br>On Tuesday, August 16, 2016, Vivian Kong via swift-build-dev <<a href="mailto:swift-build-dev@swift.org">swift-build-dev@swift.org</a>> 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'm looking for hints on how to fix this as I'm not sure why the Foundation and XCTest module can't be found.<br><br>Thanks and I appreciate the help!<br><br>Test Case 'TestToolTests.testVersion' 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 'Basic' (20 sources)<br>Compile Swift Module 'POSIXTests' (2 sources)<br>Compile Swift Module 'PackageDescriptionTests' (3 sources)<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/POSIXTests/<wbr>XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/POSIXTests/<wbr>XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/<wbr>PackageDescriptionTests/<wbr>XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/<wbr>PackageDescriptionTests/<wbr>XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Tests/<wbr>PackageDescriptionTests/<wbr>XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br> ^<br>/localbox/vivkong/swift3/<wbr>swiftpm/Sources/Basic/<wbr>TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br> ^<br><unknown>: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 "exit(152): /localbox/vivkong/swift3/<wbr>build/Ninja-<wbr>RelWithDebInfoAssert/swiftpm-<wbr>linux-s390x/debug/swift-test --version" - <br>Test Case 'TestToolTests.testVersion' failed (1.2 seconds).<br>Test Suite 'TestToolTests' 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>