AbstractCppIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Test task fails when current operating system is not targeted

  1. … 7 more files in changeset.
Make dot in project name test generic for all native project

  1. … 17 more files in changeset.
Fix issue when running component tests with 64 bit toolchain

  1. … 3 more files in changeset.
Ignore tests that just won't work on windows gcc

Fix issues with unit testing libraries

    • -108
    • +0
    ./AbstractCppIntegrationTest.groovy
  1. … 6 more files in changeset.
Allow multiple versions of xcode for testing

    • -11
    • +3
    ./AbstractCppIntegrationTest.groovy
  1. … 9 more files in changeset.
Use getter style factory methods

This makes the DSL more natural in Kotlin and Groovy.

Instead of

> machines.windows().x86()

we can now do

> machines.windows.x86

This is at the cost of making the Java use uglier:

> machines.getWindows().getX86()

  1. … 13 more files in changeset.
Ignore operating system dimension from output path and task name when unambiguous

    • -13
    • +25
    ./AbstractCppIntegrationTest.groovy
  1. … 27 more files in changeset.
Merge pull request #7801 from gradle/lacasseio/native/restrict-native-service

Move `TargetMachineFactory#host()` to internal API

  1. … 2 more files in changeset.
Handle duplicate target machines

The `TargetMachine` implementation didn't implement `hashCode` and

`equals` which cause duplicate in the `SetProperty<TargetMachine>`.

    • -0
    • +20
    ./AbstractCppIntegrationTest.groovy
  1. … 3 more files in changeset.
Move `TargetMachineFactory#host()` to internal API

  1. … 24 more files in changeset.
Isolate native service and class within `platformNative` project

  1. … 55 more files in changeset.
Prefer task name instead of task path

  1. … 5 more files in changeset.
Add test coverage for building swift applications with architecture

  1. … 14 more files in changeset.
Change x64() to x86_64()

  1. … 10 more files in changeset.
Change factory method for custom os/arch to be less ambiguous

  1. … 7 more files in changeset.
Move TargetMachineFactory up to a project service

  1. … 52 more files in changeset.
Add test coverage for cpp builds with architecture

    • -0
    • +68
    ./AbstractCppIntegrationTest.groovy
  1. … 17 more files in changeset.
POC for custom modeling of the optimization flags

    • -0
    • +40
    ./AbstractCppIntegrationTest.groovy
  1. … 20 more files in changeset.
Move defaultArchitecture calculation to AbstractCppComponentIntegrationTest

    • -10
    • +0
    ./AbstractCppIntegrationTest.groovy
  1. … 1 more file in changeset.
Generalize operating system configuration test to C++ unit test

    • -63
    • +5
    ./AbstractCppIntegrationTest.groovy
  1. … 14 more files in changeset.
Add basic operating system test coverage

    • -0
    • +58
    ./AbstractCppIntegrationTest.groovy
  1. … 6 more files in changeset.
Fixed test expectations for the default architecture for a native component.

    • -0
    • +10
    ./AbstractCppIntegrationTest.groovy
  1. … 1 more file in changeset.
Changed toolchain selection for the native plugins to attempt to find the x86 tools when building for Windows x64 and none of the x64 tools are available.

This means that when building C++ on a Windows x64 and only cygwin32 or an older Visual studio is installed, the 32 bit binaries will be built and tested, rather than complaining that no tools are available. This fallback could possibly happen on other platforms, but is either pointless (macOS) or is likely to fail (Linux).

The fallback would not happen when the target architecture is explicitly specified, but that isn't possible yet.

    • -11
    • +0
    ./AbstractCppIntegrationTest.groovy
  1. … 21 more files in changeset.
Remove cycle dependency between `platform-native` and `language-native`

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

  1. … 16 more files in changeset.
Refactored native component tests to remove an abstract method that is not longer required as each component now has a `binaries` container that can be used by the test instead.

  1. … 4 more files in changeset.
Add support for building static c++ libraries

    • -0
    • +37
    ./AbstractCppIntegrationTest.groovy
  1. … 41 more files in changeset.
Add test coverage for C++ library and application plugin

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

    • -0
    • +32
    ./AbstractCppIntegrationTest.groovy
  1. … 4 more files in changeset.