WrapperCrossVersionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move cross-version :wrapper tests into crossVersionTest source set

    • -148
    • +0
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Set default log level back to LIFECYCLE (#2015)

    • -7
    • +1
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 41 more files in changeset.
Change default log level to WARN (#1952)

    • -1
    • +7
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 44 more files in changeset.
Removed a bunch of ad hoc cleanup for isolated deamons, now that this is handled more generally.

    • -3
    • +2
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 7 more files in changeset.
Add tests for failure when starting wrapper on Java 6

+review REVIEW-6046

    • -2
    • +35
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Introduced a fixture for killing isolated daemons created in integration tests

    • -5
    • +3
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 4 more files in changeset.
Fixed all wrapper tests not to leak file handles by killing daemons

    • -14
    • +36
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 9 more files in changeset.
Remove old wrapper properties from WrapperExecutor

+review REVIEW-6014

    • -8
    • +1
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 6 more files in changeset.
Fixed wrapper cross version test to avoid using deprecated properties in older Gradle versions.

    • -4
    • +4
    ./WrapperCrossVersionIntegrationTest.groovy
More leaks file handles.

    • -0
    • +2
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 13 more files in changeset.
Fixed broken test on windows.

    • -1
    • +1
    ./WrapperCrossVersionIntegrationTest.groovy
Added GradleExecuter.withCommandLineGradleOpts() to allow some control over JVM args specifically used for the `gradle` command-line. Reworked the implementation of how these plus the requested build JVM args through to the appropriate processes, using different strategies based on whether the target Gradle version handles spaces in GRADLE_OPTS and whether GRADLE_OPTS or JAVA_OPTS are already in use.

    • -30
    • +28
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 5 more files in changeset.
Fixed broken int test after changes to test fixtures.

    • -0
    • +2
    ./WrapperCrossVersionIntegrationTest.groovy
Replaced GradleExecutor.withGradleOpts() with withBuildJvmOpts(), which has a stronger contract that better matches the intention of the tests.

    • -1
    • +1
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 22 more files in changeset.
Fixes for wrapper cross version testing.

Some song and dance is needed due to the fact we actually have two Gradle versions in play that introduce quirks. Old wrapper scripts had bugs with certain types of arguments, and actual args need to be varied for the actual Gradle runtime.

The “fix” here is not very neat, but it does self contain the gore to the one test that actually has the problem. An alternative would be to make the executer bits aware that there are potentially two versions of Gradle involved in dealing with “args” but that seems of dubious value at this point.

    • -5
    • +18
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 3 more files in changeset.
Fix incorrect specification of version used to actual run this build under test.

    • -1
    • +1
    ./WrapperCrossVersionIntegrationTest.groovy
Fix for broken int test with old versions of the wrapper.

    • -0
    • +5
    ./WrapperCrossVersionIntegrationTest.groovy
Changed the WrapperCrossVersionIntegrationTest so that the distribution ends up in the right place.

    • -18
    • +14
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 2 more files in changeset.
Add comment why we set -Dgradle.user.home explicitly in WrapperCrossVersionIntegrationTest

+review REVIEW-5166

    • -1
    • +7
    ./WrapperCrossVersionIntegrationTest.groovy
ensure custom gradle user home is used (also by older gradle wrappers)

+review REVIEW-5166

    • -1
    • +15
    ./WrapperCrossVersionIntegrationTest.groovy
Further fixes for GradleDistribution API change.

    • -3
    • +3
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 3 more files in changeset.
Disable deprecation checks for this test.

    • -1
    • +1
    ./WrapperCrossVersionIntegrationTest.groovy
Rename “GradleDistribution” to “GradleBuiltDistribution” and “GradleBasicDistribution” to “GradleDistribution”.

    • -2
    • +2
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 24 more files in changeset.
Moved code related to GradleExecuter and GradleDistribution into org.gradle.integtests.fixtures.executer - Affects many, many files, but mostly just imports - Certain files (eg RuleHelper) are not in the correct spot, but were moved to avoid cycles

    • -1
    • +1
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 170 more files in changeset.
Move the distribution tests out into a separate project.

The idea is to make it easier to reuse these for the promotion builds.

    • -0
    • +67
    ./WrapperCrossVersionIntegrationTest.groovy
  1. … 11 more files in changeset.