You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run tests with --parallel is failing in the latest toolchain from Swift.org (without --parallel is working fine). The failing reference is from swiftpm-xctest-helper.
$ export TOOLCHAINS="org.swift.53202006061a"
$ swift package init --type library
$ swift test
[6/6] Linking pkgPackageTests
Test Suite 'All tests' started at 2020-06-08 09:39:18.309
Test Suite 'pkgPackageTests.xctest' started at 2020-06-08 09:39:18.311
Test Suite 'pkgTests' started at 2020-06-08 09:39:18.311
Test Case '-[pkgTests.pkgTests testExample]' started.
Test Case '-[pkgTests.pkgTests testExample]' passed (0.071 seconds).
Test Suite 'pkgTests' passed at 2020-06-08 09:39:18.382.
Executed 1 test, with 0 failures (0 unexpected) in 0.071 (0.071) seconds
Test Suite 'pkgPackageTests.xctest' passed at 2020-06-08 09:39:18.382.
Executed 1 test, with 0 failures (0 unexpected) in 0.071 (0.071) seconds
Test Suite 'All tests' passed at 2020-06-08 09:39:18.382.
Executed 1 test, with 0 failures (0 unexpected) in 0.071 (0.073) seconds
$ swift test --parallel
error: signalled(6): DEVELOPER_DIR=/Xcodes/11.4/Xcode.app/Contents/Developer HOME=/Users/blangmuir LESS=-R __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 DISPLAY=/private/tmp/com.apple.launchd.uoKDaZGX9Z/org.macosforge.xquartz:0 EDITOR=vim TERM=xterm-256color TOOLCHAINS=org.swift.53202006061a PAGER=less LANG=en_US.UTF-8 _=/usr/bin/swift LOGNAME=blangmuir LSCOLORS=Gxfxcxdxbxegedabagacad XPC_SERVICE_NAME=0 PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/appleinternal/bin:/opt/apple/bin:/opt/xbs/bin:/opt/X11/bin:/opt/distcc-r796/bin:/Users/blangmuir/bin:/Users/blangmuir/homebrew/bin XPC_FLAGS=0x0 ZSH=/Users/blangmuir/.oh-my-zsh CPATH=/usr/local/include TERM_SESSION_ID=C461A214-3C13-44B9-9481-4F4D8F70EAB9 PWD=/tmp/pkg SHLVL=1 GIT_CEILING_DIRECTORIES=::/Users/blangmuir OLDPWD=/tmp TERM_PROGRAM=Apple_Terminal LIBRARY_PATH=/usr/local/lib SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.ZvdfFJ7IvH/Listeners SHELL=/bin/zsh USER=blangmuir SDKROOT=/System/Volumes/Data/Xcodes/11.4/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk DYLD_LIBRARY_PATH=/System/Volumes/Data/Xcodes/11.4/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib DYLD_FRAMEWORK_PATH=/System/Volumes/Data/Xcodes/11.4/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks TERM_PROGRAM_VERSION=433 TMPDIR=/var/folders/bc/6yb9j0z56_xdjnb7k0znv6840000gn/T/ /Users/blangmuir/Library/Developer/Toolchains/swift-5.3-DEVELOPMENT-SNAPSHOT-2020-06-06-a.xctoolchain/usr/libexec/swift/pm/swiftpm-xctest-helper /private/tmp/pkg/.build/x86_64-apple-macosx/debug/pkgPackageTests.xctest /var/folders/bc/6yb9j0z56_xdjnb7k0znv6840000gn/T/TemporaryFile.DN7J0F output:
dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest
Referenced from: /Users/blangmuir/Library/Developer/Toolchains/swift-5.3-DEVELOPMENT-SNAPSHOT-2020-06-06-a.xctoolchain/usr/libexec/swift/pm/swiftpm-xctest-helper
Reason: image not found
The text was updated successfully, but these errors were encountered:
Environment
macOS 10.15.5
swift-5.3-DEVELOPMENT-SNAPSHOT-2020-06-06-a
Additional Detail from JIRA
md5: e0622f28fe458c4a1cbc5468682742dc
Issue Description:
Trying to run tests with --parallel is failing in the latest toolchain from Swift.org (without --parallel is working fine). The failing reference is from
swiftpm-xctest-helper
.The text was updated successfully, but these errors were encountered: