Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertTaskIsParallel (0.18 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeSoftwareModelParallelIntegrationTest.groovy

            withComponentForApp()
            createTaskThatRunsInParallelUsingCustomToolchainWith("linkMainExecutable")
    
            when:
            succeeds("assemble", "parallelTask")
    
            then:
            assertTaskIsParallel("linkMainExecutable")
        }
    
        @ToBeFixedForConfigurationCache
        def "can execute link shared library tasks in parallel"() {
            given:
            withComponentsForAppAndSharedLib()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftParallelExecutionIntegrationTest.groovy

            succeeds "assemble", "parallelTask"
    
            then:
            assertTaskIsParallel("linkDebug")
        }
    
        def "compile task is executed in parallel"() {
            createTaskThatRunsInParallelUsingCustomToolchainWith("compileDebugSwift")
    
            when:
            succeeds "assemble", "parallelTask"
    
            then:
            assertTaskIsParallel("compileDebugSwift")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageParallelIntegrationTest.groovy

                tasks.withType(CCompile) { mustRunAfter tasks.withType(Assemble) }
            """
    
            when:
            succeeds("assemble", "parallelTask")
    
            then:
            assertTaskIsParallel("assembleMainExecutableMainAsm")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourceParallelIntegrationTest.groovy

                tasks.withType(CppCompile) { mustRunAfter tasks.withType(WindowsResourceCompile) }
            """
    
            when:
            succeeds("assemble", "parallelTask")
    
            then:
            assertTaskIsParallel("compileMainLibSharedLibraryMainLibRc")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeParallelIntegrationTest.groovy

        def setup() {
            executer.withArgument("--max-workers=4")
        }
    
        def cleanup() {
            server.stop()
        }
    
        void assertTaskIsParallel(String taskName) {
            def task = buildOperations.first(ExecuteTaskBuildOperationType, new Spec<BuildOperationRecord>() {
                @Override
                boolean isSatisfiedBy(BuildOperationRecord record) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top