"no such module XCTest"


(Drew Crawford) #1

Hello,

When building the Feb 8th snapshot from source on Linux x64, I see a new error:

TestFoundation/TestNSString.swift:13:8: error: no such module 'XCTest'
import XCTest
       ^
ninja: build stopped: subcommand failed.
./utils/build-script: command terminated with a non-zero exit status 1, aborting
./utils/build-script: using preset 'drew', which expands to ./utils/build-script --assertions --no-swift-stdlib-assertions --llbuild --swiftpm --xctest --build-subdir=buildbot_linux --lldb --release --test --validation-test --foundation --libdispatch -- --swift-enable-ast-verifier=0 --install-swift --install-lldb --install-llbuild --install-swiftpm --install-xctest --install-prefix=/usr '--swift-install-components=compiler;clang-builtin-headers;stdlib;sdk-overlay;license' --build-swift-static-stdlib=1 --build-swift-stdlib-unittest-extra=1 --skip-test-lldb=1 --test-installable-package=1 --install-destdir=/tmp/install --installable-package=/tmp/swift.tar.gz --install-foundation --reconfigure --install-libdispatch=1 --skip-test-libdispatch=1
./utils/build-script: command terminated with a non-zero exit status 1, aborting

I am currently working around by setting skip-test-foundation=1.

I assume there's a bug already filed on this?