XCTestConventionPluginTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Hack away XCTest failures

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

  1. … 1 more file in changeset.
Merge remote-tracking branch 'origin/lacasseio/native/rename-swift-executable'

* origin/lacasseio/native/rename-swift-executable:

Address code review and fix CI failure

Fix CI failures

Rename `swift-executable` to `swift-application`

  1. … 3 more files in changeset.
Address code review and fix CI failure

  1. … 1 more file in changeset.
Make sure we use a consistent naming convention for XCTest

  1. … 9 more files in changeset.
Rename `swift-executable` to `swift-application`

This commit also rename everything that implies Swift executable as in

an application.

  1. … 32 more files in changeset.
Improve XCTestConventionPlugin test coverage on Windows

    • -21
    • +27
    ./XCTestConventionPluginTest.groovy
  1. … 4 more files in changeset.
Remove SwiftBundle types from public API and collapse XCTests into one type

  1. … 16 more files in changeset.
Merge `CreateSwiftBundle` task with `InstallXCTestBundle`

    • -37
    • +4
    ./XCTestConventionPluginTest.groovy
  1. … 13 more files in changeset.
Merge `CreateSwiftBundle` task with `InstallXCTestBundle`

    • -37
    • +4
    ./XCTestConventionPluginTest.groovy
  1. … 13 more files in changeset.
Fix CI failure regarding working directory on Linux

Fix CI failure regarding working directory on Linux

Fix CI failure

Fix CI failure

Split out create bundle and install task

    • -2
    • +14
    ./XCTestConventionPluginTest.groovy
  1. … 5 more files in changeset.
Split out create bundle and install task

    • -2
    • +14
    ./XCTestConventionPluginTest.groovy
  1. … 5 more files in changeset.
Add support for XCTest report generation on Linux

  1. … 8 more files in changeset.
Add support for XCTest report generation on Linux

  1. … 8 more files in changeset.
Address code review comments

    • -6
    • +48
    ./XCTestConventionPluginTest.groovy
  1. … 11 more files in changeset.
Cleanup, javadoc and test fixing

  1. … 11 more files in changeset.
Fix CI failures

  1. … 3 more files in changeset.
Implement XCTest support for Linux

    • -4
    • +48
    ./XCTestConventionPluginTest.groovy
  1. … 74 more files in changeset.
Fix task naming test failure

  1. … 6 more files in changeset.
Rename classes to be more precis in the intent

  1. … 7 more files in changeset.
Merged `AbstractNativeCompileTask.objectFileDirectory` property into `objectFileDir`, changing its type to `DirectoryVar`. This is a breaking change.

  1. … 18 more files in changeset.
Changed the XCTest plugin to use the project directory as the working directory for test execution, for consistency with the JVM tests.

Also wired in the `test` task as a dependency of `check` (and `build`).

  1. … 2 more files in changeset.
Changed the XCTest plugin to honour changes to the build directory when generating reports.

    • -0
    • +29
    ./XCTestConventionPluginTest.groovy
  1. … 1 more file in changeset.
Added `debuggable` flag to `AbstractLinkTask` and changed the C++ and Swift plugins to set this to `true` for the debug variants of each library, executable and test suite.

Changed the Visual C++ toolchain to understand this flag and add the appropriate linker arguments.

  1. … 11 more files in changeset.
Changed the C++ and Swift plugins so that by default debuggable binaries are built for the debug variant, and non-debuggable optimized binaries are built for the release variant.

Added `debuggable` and `optimized` flags to `AbstractNativeCompileTask` and changed the tool chain implementation to generate the relevant compiler options. The C++ and Swift plugins set these flags on the compile tasks.

Also changed `AbstractNativeCompileTask` and `AbstractLinkTask` task types to provide default values for compiler args and macros (both empty) rather than forcing build logic to always set these.

  1. … 17 more files in changeset.
Regroup bundle creation code in `SwiftBasePlugin`

  1. … 26 more files in changeset.
Add test coverage for `xctest` component

  1. … 12 more files in changeset.