Skip to content

Cannot skip build when listing tests #5739

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

Closed
adam-fowler opened this issue Aug 22, 2022 · 0 comments · Fixed by #5770
Closed

Cannot skip build when listing tests #5739

adam-fowler opened this issue Aug 22, 2022 · 0 comments · Fixed by #5770
Labels

Comments

@adam-fowler
Copy link

Description

Skip build no longer skips building the package when listing tests. Previously you could skip building the package with

swift test --list-tests --skip-build

With the new test list command

swift test list --skip-build

It builds the package before listing the tests

Expected behavior

swift test list --skip-build should not build the package

Actual behavior

swift test list --skip-build builds the package before listing the tests

Steps to reproduce

  1. swift package clean
  2. swift test list --skip-build

Swift Package Manager version/commit hash

No response

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

Apple Swift version 5.8-dev (LLVM f6b60d5b8f4b443, Swift ecccce61139bbc4)
Target: x86_64-apple-macosx13.0
Darwin Adams-MacBook-Pro.local 22.0.0 Darwin Kernel Version 22.0.0: Tue May 24 20:31:35 PDT 2022; root:xnu-8792.0.50.111.3~5/RELEASE_X86_64 x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant