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

Use build description to check for unified testing binary #1004

Commits on Aug 8, 2024

  1. Use build description to check for unified testing binary

    We were checking the `mtime` of the `<ProductName>.swift-testing` binary
    to determine if it was produced by the latest build. The issue with this
    is that when you run tests over and over without making any code changes
    the binary is never rewritten because it is already up to date.
    
    Instead of checking the `mtime` of the .swift-testing binary in the build
    folder to determine if it was produced, use the build `description.json`
    and check the builtTestProducts list to see if the legacy
    `.swift-testing` binary was produced by the latest build.
    plemarquand committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    cca0658 View commit details
    Browse the repository at this point in the history