<html><body><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/build/Ninja-RelWithDebInfoAssert/swiftpm-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/swiftpm/Tests/POSIXTests/XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/swiftpm/Tests/POSIXTests/XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/swiftpm/Tests/PackageDescriptionTests/XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/swiftpm/Tests/PackageDescriptionTests/XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/swiftpm/Tests/PackageDescriptionTests/XCTestManifests.swift:11:8: error: no such module 'XCTest'<br>import XCTest<br>       ^<br>/localbox/vivkong/swift3/swiftpm/Sources/Basic/TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/swiftpm/Sources/Basic/TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/swiftpm/Sources/Basic/TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/swiftpm/Sources/Basic/TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/swiftpm/Sources/Basic/TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/swiftpm/Sources/Basic/TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/swiftpm/Sources/Basic/TemporaryFile.swift:13:14: error: no such module 'Foundation'<br>import class Foundation.FileHandle<br>             ^<br>/localbox/vivkong/swift3/swiftpm/Sources/Basic/TemporaryFile.swift:13:14: error: no such module 'Foundation'<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/build/Ninja-RelWithDebInfoAssert/swiftpm-linux-s390x/debug/swift-build-tool -f /localbox/vivkong/swift3/swiftpm/.build/debug.yaml test<br><br>/localbox/vivkong/swift3/swiftpm/Tests/CommandsTests/TestToolTests.swift:26: error: TestToolTests.testVersion : XCTAssertTrue threw error &quot;exit(152): /localbox/vivkong/swift3/build/Ninja-RelWithDebInfoAssert/swiftpm-linux-s390x/debug/swift-test --version&quot; - <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>
</body></html>