ScalaCompilerContinuousIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove check for Scala compiler daemon

    • -15
    • +0
    ./ScalaCompilerContinuousIntegrationTest.groovy
Introduce a ScalaPluginExtension for configuring the version of Zinc used

    • -15
    • +0
    ./ScalaCompilerContinuousIntegrationTest.groovy
  1. … 16 more files in changeset.
Introduce a ScalaPluginExtension for configuring the version of Zinc used

    • -15
    • +0
    ./ScalaCompilerContinuousIntegrationTest.groovy
  1. … 16 more files in changeset.
upgraded Scala zinc compiler to version 1.2.5

Additionally introduces Scala compiler daemon that remains warm across build, improving further incremental compilation times

Signed-off-by: Predrag Knezevic <pedjak@gmail.com>

    • -0
    • +15
    ./ScalaCompilerContinuousIntegrationTest.groovy
  1. … 30 more files in changeset.
Use mavenCentral() and jcenter() mirrors in tests where possible

    • -3
    • +1
    ./ScalaCompilerContinuousIntegrationTest.groovy
  1. … 51 more files in changeset.
Use separate output directories for all JVM languages

- Introduce an outputDir on SourceDirectorySet

- Default output directory is now `build/classes/<source directory set name>/<source set name>`

- Example: Java compilation goes to build/classes/java/main instead of build/classes/main

- Adapt JDepend, FindBugs, Test and ValidateTaskProperties tasks to handle multiple class directories

- Deprecate setClassesDir/getClassesDir on SourceSetOutput

- Calling setClassesDir restores old behavior (shared output directory)

- Introduce addClassesDir and getClassesDirs on SourceSetOutput

- OSGi plugin needs a single classes directory, so introduce 'osgiClasses' task that syncs all classes to a single directory

Most of the changes to integration tests are find classes in their new location. Helper methods in AbstractIntegrationSpec

can locate class files vs hardcoding a path.

Squashed commit of sg-split-jvm-classes branch for REVIEW-6502

    • -1
    • +0
    ./ScalaCompilerContinuousIntegrationTest.groovy
  1. … 119 more files in changeset.
Remove test flakiness by allowing initial scala compilation to take longer

The test waits 20s for any build activity, but initial scala compilation can

take up to 1 minute to complete. This makes this tests fail for reasons

completely unrelated to the feature being tested (scala continuous build).

Bumping the timeout should make this test non-flaky, but it will leave the

underlying problem that Scala compilation sometimes is exceedingly slow.

    • -0
    • +5
    ./ScalaCompilerContinuousIntegrationTest.groovy
Remove test flakiness by allowing initial scala compilation to take longer

The test waits 20s for any build activity, but initial scala compilation can

take up to 1 minute to complete. This makes this tests fail for reasons

completely unrelated to the feature being tested (scala continuous build).

Bumping the timeout should make this test non-flaky, but it will leave the

underlying problem that Scala compilation sometimes is exceedingly slow.

    • -0
    • +5
    ./ScalaCompilerContinuousIntegrationTest.groovy
Changing compiler daemon reuse tests to check all daemons

+review REVIEW-5582

    • -11
    • +0
    ./ScalaCompilerContinuousIntegrationTest.groovy
  1. … 13 more files in changeset.
Cleaning up compiler daemon reuse integration tests

+review REVIEW-5582

    • -1
    • +2
    ./ScalaCompilerContinuousIntegrationTest.groovy
  1. … 18 more files in changeset.
Reusing compiler daemon across continuous builds

+review REVIEW-5582

    • -0
    • +77
    ./ScalaCompilerContinuousIntegrationTest.groovy
  1. … 23 more files in changeset.