Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 139 for doCache (0.55 sec)

  1. src/cmd/go/testdata/script/mod_get_commit.txt

    ! stderr 'compile|cp|gccgo .*language\.a$'
    
    # go get should skip build with no Go files in root
    go get golang.org/x/text@14c0d48
    
    # dropping -d, we should see a build.
    [short] skip
    
    env GOCACHE=$WORK/gocache  # Looking for compile commands, so need a clean cache.
    
    go build -x golang.org/x/text/language
    stderr 'compile|cp|gccgo .*language\.a$'
    
    go list -f '{{.Stale}}' golang.org/x/text/language
    stdout ^false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 21 20:57:57 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. src/testing/testing_test.go

    		c1 := make(chan bool, 1)
    		t.Run("sub", func(t *testing.T) {
    			t.Run("subsub1", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				c1 <- true
    			})
    			t.Run("subsub2", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				<-c1
    			})
    		})
    		doRace()
    		return
    	}
    
    	out := runTest(t, "TestRaceSubReports")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_main_twice.txt

    [short] skip
    
    env GOCACHE=$WORK/tmp
    go test -v multimain
    stdout -count=2 notwithstanding # check tests ran twice
    
    -- go.mod --
    module multimain
    
    go 1.16
    -- multimain_test.go --
    package multimain_test
    
    import "testing"
    
    func TestMain(m *testing.M) {
    	// Some users run m.Run multiple times, changing
    	// some kind of global state between runs.
    	// This used to work so I guess now it has to keep working.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 511 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    # if we change the way caching works, we want the test to fail
    # instead of accidentally reusing the cached information from a
    # previous test run.
    env GOCACHE=$WORK${/}.cache
    mkdir $GOCACHE
    
    go build -x runtime/cgo
    
    	# Tell our fake clang to stop working.
    	# Previously, 'go build -x runtime/cgo' would continue to
    	# succeed because both the broken clang and the non-broken one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. tools/docker-builder/types.go

    	Pull             *bool             `json:"pull,omitempty" hcl:"pull,optional"`
    	NoCache          *bool             `json:"no-cache,omitempty" hcl:"no-cache,optional"`
    }
    
    type Args struct {
    	Push              bool
    	Save              bool
    	Builder           string
    	SupportsEmulation bool
    	NoClobber         bool
    	NoCache           bool
    	Targets           []string
    	Variants          []string
    	Architectures     []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_statements.txt

    # concurrently accessing the cache while this test is running, it can
    # lead to cache lookup failures, which manifest as test failures here.
    # To avoid such flakes, use a separate isolated GOCACHE for this test.
    env GOCACHE=$WORK/cache
    
    # Initial run with simple coverage.
    go test -cover ./pkg1 ./pkg2 ./pkg3 ./pkg4
    [!GOEXPERIMENT:coverageredesign] stdout 'pkg1	\[no test files\]'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:36:30 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_stale.txt

    [short] skip
    
    env GOCACHE=$WORK/cache
    go list -f '{{.Stale}}' .
    stdout true
    go install .
    go list -f '{{.Stale}}' .
    stdout false
    
    -- go.mod --
    module example.com/mod
    
    go 1.20
    -- m.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 21 20:57:57 UTC 2022
    - 195 bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultArtifactCaches.java

            });
            String roCache = System.getenv(READONLY_CACHE_ENV_VAR);
            if (StringUtils.isNotEmpty(roCache)) {
                IncubationLogger.incubatingFeatureUsed("Shared read-only dependency cache");
                File baseDir = validateReadOnlyCache(documentationRegistry, new File(roCache).getAbsoluteFile());
                if (baseDir != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt

    # "preferlinkext" token to the linker to request external linking.
    
    #-----------------------
    
    # Use a fresh GOCACHE for these next steps, so as to have the real
    # actions for the runtime/cgo package appear in the "-n -x" output.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # First build: there is no CGO in use, so no token should be present regardless
    # of weird CGO flags.
    go build -x -n -o dummy.exe ./noUseOfCgo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 18:16:01 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_setenv.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    go test -fuzz=FuzzA -fuzztime=100x fuzz_setenv_test.go
    
    -- fuzz_setenv_test.go --
    package fuzz
    
    import (
      "flag"
      "os"
      "testing"
    )
    
    func FuzzA(f *testing.F) {
      if s := os.Getenv("TEST_FUZZ_SETENV_A"); isWorker() && s == "" {
        f.Fatal("environment variable not set")
      } else if !isWorker() && s != "" {
        f.Fatal("environment variable already set")
      }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 943 bytes
    - Viewed (0)
Back to top