AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -17
    • +17
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :languageNative

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +17
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 61 more files in changeset.
Annotate integ tests failing with instant execution in :languageNative

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +17
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 61 more files in changeset.
Change more tests.

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 20 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 98 more files in changeset.
Allow tests to run on cygwin64

    • -4
    • +3
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 4 more files in changeset.
Fix other tests that require 32-bit support

    • -0
    • +2
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 17 more files in changeset.
Add incremental test coverage for system headers

    • -0
    • +53
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 1 more file in changeset.
Change test expectations to be less strict to handle VS2017

    • -24
    • +0
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 1 more file in changeset.
Simplify condition to determine if link time file will change or not

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 3 more files in changeset.
Add test for relocating C++ compilation (#3162)

    • -18
    • +4
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 6 more files in changeset.
Add wiring to allow VS2017 installs to be selected

    • -4
    • +22
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 10 more files in changeset.
Address some review feedback

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 9 more files in changeset.
Remove unnecessary modifiers and semicolons

    • -5
    • +5
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 18 more files in changeset.
Revert "Remove the need to sleep in incremental build integTests"

This reverts commit c3f1745a85e71248b207491364fb3ec56d3b0003.

    • -2
    • +5
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 2 more files in changeset.
Remove the need to sleep in incremental build integTests

Instead of waiting for a period to ensure that changes to files are

detected, deliberately age the original files. This way the modified

files will always have a different timestamp to the originals.

    • -5
    • +2
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 2 more files in changeset.
Add TimeProvider.currentTimeForDuration and use it

There were many places we were measuring a duration by comparing

`System.currentTimeMillis()` at some start and end times. This is a

known anti-pattern which is subject to incorrect duration measurements

due to how clock skew affects the implementation of that function.

The new `currentTimeForDuration()` method uses `System.nanoTime()` which

is much more reliable for measuring durations within a single thread of

control in a single process.

Replacing our uses of `System.currentTimeMillis()` with

`currentTimeForDuration()` will make Gradle and our tests much more

reliable.

In service of issue #740

    • -8
    • +0
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 37 more files in changeset.
Fix the native integration tests on gcc cygwin.

+review REVIEW-6103

    • -4
    • +13
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 12 more files in changeset.
Fixed software model int tests for changes to behaviour for `components { }` DSL.

    • -2
    • +6
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 1 more file in changeset.
Try to give even more time for the FS to sync last modified/length

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
Try to give more time for the file length/last modified metadata to be updated by the FS

    • -0
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
3d workaround for hitting a hard FS limit when detecting build script changes: make sure the build script size changes between invocations

    • -3
    • +3
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
Don't assert that VisualCPP _always_ relinks after recompilation

This behaviour is actually not deterministic, since the timestamp in the recompiled

object file _could_ be the same as the previous one.

+review

    • -16
    • +11
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
Cleaning up ToolChainRequirement

+review REVIEW-5794

    • -6
    • +6
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 23 more files in changeset.
Fixed a couple of int tests for changes to output directory names.

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 1 more file in changeset.
Changed the naming scheme for output directories for native components, to simplify the paths and reduce their length. Also split up the 'binaries' directory into 'exe' and 'libs'.

    • -11
    • +11
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 58 more files in changeset.
Support native test coverage on Visual Studio 2013

    • -1
    • +1
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 3 more files in changeset.
Use #includes as discovered inputs for incremental compile task

- This isn't done, some tests are broken

+review REVIEW-5687

    • -1
    • +0
    ./AbstractNativeLanguageIncrementalBuildIntegrationTest.groovy
  1. … 9 more files in changeset.