Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for Parallel (0.16 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java

            forking(true),
            noDaemon(true),
            parallel(true, true),
            configCache(true),
            isolatedProjects(true);
    
            final public boolean forks;
            final public boolean executeParallel;
    
            Executer(boolean forks) {
                this(forks, false);
            }
    
            Executer(boolean forks, boolean parallel) {
                this.forks = forks;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:06:31 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/errors_test.go

    func path(file string) string {
    	return filepath.Join("testdata", file)
    }
    
    func check(t *testing.T, file string) {
    	t.Run(file, func(t *testing.T) {
    		testenv.MustHaveGoBuild(t)
    		testenv.MustHaveCGO(t)
    		t.Parallel()
    
    		contents, err := os.ReadFile(path(file))
    		if err != nil {
    			t.Fatal(err)
    		}
    		var errors []*regexp.Regexp
    		for i, line := range bytes.Split(contents, []byte("\n")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/os/exec_unix_test.go

    //go:build unix
    
    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"math"
    	. "os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestErrProcessDone(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	p, err := StartProcess(testenv.GoToolPath(t), []string{"go"}, &ProcAttr{})
    	if err != nil {
    		t.Fatalf("starting test process: %v", err)
    	}
    	p.Wait()
    	if got := p.Signal(Kill); got != ErrProcessDone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaConcurrencyIntegrationTest.groovy

    class ScalaConcurrencyIntegrationTest extends AbstractIntegrationSpec {
        @Rule BlockingHttpServer httpServer = new BlockingHttpServer()
    
        @Issue("https://github.com/gradle/gradle/issues/14434")
        def "can run tests in parallel with project dependencies"() {
            given:
            httpServer.expectConcurrent(':a:test', ':b:test', ':c:test', ':d:test')
            httpServer.start()
    
            settingsFile << """
                include 'a', 'b', 'c', 'd'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 16:10:12 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGeneratorConfiguration.groovy

        CompositeConfiguration compositeBuild
    
        String daemonMemory
        String compilerMemory
        String testRunnerMemory
        Map<String, String> systemProperties
        String[] featurePreviews
        boolean parallel
        int maxWorkers
        int maxParallelForks
        int testForkEvery
        boolean useTestNG
        Map<String, String> fileToChangeByScenario
    }
    
    @Builder(prefix = "with",
        builderStrategy = ExternalStrategy,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class IsolatedProjectsJavaPluginIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "java projects can be configured in a parallel"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
            """
            javaProject(file("a"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/tsan_test.go

    	}
    	// The msan tests require support for the -msan option.
    	if !compilerRequiredTsanVersion(goos, goarch) {
    		t.Skipf("skipping on %s/%s; compiler version for -tsan option is too old.", goos, goarch)
    	}
    
    	t.Parallel()
    	requireOvercommit(t)
    	config := configure("thread")
    	config.skipIfCSanitizerBroken(t)
    
    	mustRun(t, config.goCmd("build", "std"))
    
    	cases := []struct {
    		src          string
    		needsRuntime bool
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 21:14:49 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

        )
        def "clean assemble with local cache"() {
            given:
            setupTestProject(runner)
            runner.args += "--parallel"
            pushToRemote = false
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        @RunFor([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/testing/benchmark_test.go

    	// specific algorithm (in this case, sorting) in parallel.
    	testing.Benchmark(func(b *testing.B) {
    		var compares atomic.Int64
    		b.RunParallel(func(pb *testing.PB) {
    			for pb.Next() {
    				s := []int{5, 4, 3, 2, 1}
    				slices.SortFunc(s, func(a, b int) int {
    					// Because RunParallel runs the function many
    					// times in parallel, we must increment the
    					// counter atomically to avoid racing writes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest.groovy

    class ParallelCompilerDaemonIntegrationTest extends AbstractIntegrationSpec {
        @Rule TestResources resources = new TestResources(temporaryFolder)
    
        def "daemon compiler can handle --parallel"() {
            generateProjects(10, 10, 10)
    
            args("--parallel")
    
            expect:
            succeeds("classes")
        }
    
        private generateProjects(int numProjects, int numJavaSources, int numGroovySources) {
            def settingsText = ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top