Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 97 for rerun (0.12 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            withBuildCache().run "producer", "--rerun-tasks"
            then:
            executed ":producer"
        }
    
        @Issue("https://github.com/gradle/gradle/issues/3358")
        def "re-ran task is stored in cache"() {
            file("input.txt").text = "input"
            buildFile << defineProducerTask()
    
            // Store in local cache
            withBuildCache().run "producer", "--rerun-tasks"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/BasicProjectConfigurationProgressCrossVersionSpec.groovy

            withConnection {
                ProjectConnection connection ->
                    connection.newBuild()
                        .addProgressListener(events, [OperationType.TEST] as Set)
                        .withArguments("--rerun-tasks")
                        .forTasks("build")
                        .run()
            }
    
            then:
            events.tests.size() == events.operations.size()
            if (targetDist.runsBuildSrcTests) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerRegistrySpec.groovy

            10_000.times {
                defaultSerializerRegistry.build(SerializableParent)
            }
            then:
            noExceptionThrown()
            conditions.await(5.0)
            where:
            // Rerun this test 10 times
            testIteration << (0..9)
        }
    
        static class SerializableParent implements Serializable {}
    
        static class Serializable1 extends SerializableParent {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

            """
    
            when:
            succeeds("compileJava")
    
            then:
            pidFile().exists()
            def pid1 = pidFile().text.strip() as long
            kill(pid1)
    
            when:
            args "--rerun-tasks"
            succeeds("compileJava")
    
            then:
            pidFile().exists()
            def pid2 = pidFile().text.strip() as long
            pid2 != pid1
    
            and:
            outputContainsKilledWorkerWarning()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            executedAndNotSkipped(taskWithSources.taskPath)
        }
    
        @Issue("https://github.com/gradle/gradle/issues/8299")
        def "two tasks can output in the same directory with --rerun-tasks"() {
            buildFile << """
                apply plugin: 'base'
    
                task firstCopy {
                    inputs.file('first.file')
                    outputs.dir('build/destination')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy

            executesNonIncrementally()
        }
    
        def "incremental task is informed that all input files are 'out-of-date' when gradle is executed with --rerun-tasks"() {
            given:
            previousExecution()
    
            when:
            executer.withArgument("--rerun-tasks")
    
            then:
            executesNonIncrementally()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 12:52:29 UTC 2022
    - 27.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

            events.clear()
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild().withArguments('--rerun-tasks').forTasks('test').addProgressListener(events, EnumSet.of(OperationType.TEST)).run()
            }
    
            then: 'the parent of the root test progress event is null'
            events.tests[0].descriptor.parent == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java

            if (matches.size() == 1) {
                return matches.get(0).getArtifacts();
            } else if (matches.size() > 1) {
                // Request is ambiguous. Rerun matching again, except capture an explanation this time for reporting.
                TraceDiscardedVariants newExpBuilder = new TraceDiscardedVariants();
                matches = matcher.matches(variants, componentRequested, newExpBuilder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 13:33:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/WorkNodeCodec.kt

            // Not all entry nodes are always scheduled.
            // In particular, it happens when the entry node is a task of the included plugin build that runs as part of building the plugin.
            // Such tasks do not rerun when configuration cache is re-used, even if specified on the command line.
            // Not restoring them as entry points doesn't affect the resulting execution plan.
            val scheduledEntryNodeIds = mutableListOf<Int>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/DestroyerTaskCommandLineOrderIntegrationTest.groovy

            writeAllFiles()
    
            expect:
            2.times {
                server.expectConcurrent(cleanFoo.path, generateBar.path)
    
                args '--parallel', '--max-workers=2', '--rerun-tasks' // --rerun-tasks so that tasks are not up-to-date on second invocation
                succeeds(clean.path, generate.path)
    
                result.assertTaskOrder(cleanFoo.fullPath, generateFoo.fullPath, generate.fullPath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 14:13:02 UTC 2022
    - 21.1K bytes
    - Viewed (0)
Back to top