Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for rrun (0.07 sec)

  1. src/cmd/go/go_test.go

    	tg.run("env", "GCCGO")
    	tg.grepStdout(".", "GCCGO unexpectedly empty")
    
    	tg.run("env", "CGO_CFLAGS")
    	tg.grepStdout(".", "default CGO_CFLAGS unexpectedly empty")
    
    	tg.setenv("CGO_CFLAGS", "-foobar")
    	tg.run("env", "CGO_CFLAGS")
    	tg.grepStdout("^-foobar$", "CGO_CFLAGS not honored")
    
    	tg.setenv("CC", "gcc -fmust -fgo -ffaster")
    	tg.run("env", "CC")
    	tg.grepStdout("gcc", "CC not found")
    	tg.run("env", "GOGCCFLAGS")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/cmd/dist/test.go

    	}
    	if opts.bench {
    		// Run no tests.
    		run = append(run, "-run=^$")
    		// Run benchmarks briefly as a smoke test.
    		run = append(run, "-bench=.*", "-benchtime=.1s")
    	} else if opts.runTests != "" {
    		run = append(run, "-run="+opts.runTests)
    	}
    	if opts.cpu != "" {
    		run = append(run, "-cpu="+opts.cpu)
    	}
    	if t.json {
    		run = append(run, "-json")
    	}
    
    	if opts.gcflags != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    		}
    	}
    
    	// Force benchmarks to run in serial.
    	if !testC && (testBench != "") {
    		// The first run must wait for all builds.
    		// Later runs must wait for the previous run's print.
    		for i, run := range runs {
    			if i == 0 {
    				run.Deps = append(run.Deps, builds...)
    			} else {
    				run.Deps = append(run.Deps, prints[i-1])
    			}
    		}
    	}
    
    	b.Do(ctx, root)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. src/cmd/internal/testdir/testdir_test.go

    	force          = flag.Bool("f", false, "ignore expected-failure test lists")
    	target         = flag.String("target", "", "cross-compile tests for `goos/goarch`")
    
    	shard  = flag.Int("shard", 0, "shard index to run. Only applicable if -shards is non-zero.")
    	shards = flag.Int("shards", 0, "number of shards. If 0, all tests are run. This is used by the continuous build.")
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. tests/query_test.go

    		t.Fatalf("errors happened when create users: %v", err)
    	}
    
    	t.Run("First", func(t *testing.T) {
    		var first User
    		if err := DB.Where("name = ?", "find").First(&first).Error; err != nil {
    			t.Errorf("errors happened when query first: %v", err)
    		} else {
    			CheckUser(t, first, users[0])
    		}
    	})
    
    	t.Run("Last", func(t *testing.T) {
    		var last User
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	}
    }
    
    func BenchmarkEqual(b *testing.B) {
    	b.Run("0", func(b *testing.B) {
    		var buf [4]byte
    		buf1 := buf[0:0]
    		buf2 := buf[1:1]
    		for i := 0; i < b.N; i++ {
    			eq := Equal(buf1, buf2)
    			if !eq {
    				b.Fatal("bad equal")
    			}
    		}
    	})
    
    	sizes := []int{1, 6, 9, 15, 16, 20, 32, 4 << 10, 4 << 20, 64 << 20}
    
    	b.Run("same", func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    func isGitRepo() bool {
    	// NB: simply checking the exit code of `git rev-parse --git-dir` would
    	// suffice here, but that requires deviating from the infrastructure
    	// provided by `run`.
    	gitDir := chomp(run(goroot, 0, "git", "rev-parse", "--git-dir"))
    	if !filepath.IsAbs(gitDir) {
    		gitDir = filepath.Join(goroot, gitDir)
    	}
    	return isdir(gitDir)
    }
    
    /*
     * Initial tree setup.
     */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

         */
        public ListenableFuture<?> run(final Runnable combiner, Executor executor) {
          return call(
              new Callable<@Nullable Void>() {
                @Override
                @CheckForNull
                public Void call() throws Exception {
                  combiner.run();
                  return null;
                }
              },
              executor);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

                    private final bean = new Bean()
                    FooTask() { bean.p1 = project }
                    @TaskAction void run() {}
                }
    
                task foo(type: FooTask)
            """
    
            when:
            run ENABLE_CLI_OPT, WARN_PROBLEMS_CLI_OPT, "foo"
    
            then:
            postBuildOutputContains("Configuration cache entry stored with 2 problems.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Futures.java

         */
        public ListenableFuture<?> run(final Runnable combiner, Executor executor) {
          return call(
              new Callable<@Nullable Void>() {
                @Override
                @CheckForNull
                public Void call() throws Exception {
                  combiner.run();
                  return null;
                }
              },
              executor);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
Back to top