Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading CLI help for swift test --parallel #8174

Open
1 task done
MahdiBM opened this issue Dec 16, 2024 · 0 comments
Open
1 task done

Misleading CLI help for swift test --parallel #8174

MahdiBM opened this issue Dec 16, 2024 · 0 comments
Labels

Comments

@MahdiBM
Copy link

MahdiBM commented Dec 16, 2024

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

This is the "help" for the --parallel flag:

swift test --help | grep "\-parallel"                                               
  --parallel/--no-parallel
                          Run the tests in parallel. (default: --no-parallel)

Expected behavior

Don't say default: --no-parallel, instead say something like default: --no-parallel for XCTest, --parallel for swift-testing.

Actual behavior

mentions default: --no-parallel which is incorrect for swift-testing.

Steps to reproduce

swift test --help | grep "\-parallel"     

Swift Package Manager version/commit hash

Swift Package Manager - Swift 6.0.3

Swift & OS version (output of swift --version ; uname -a)

swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.8 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
Darwin 24.2.0 Darwin Kernel Version 24.2.0: Sun Nov  3 20:52:07 PST 2024; root:xnu-11215.60.405~54/RELEASE_ARM64_T6000 arm64
@MahdiBM MahdiBM added the bug label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant