Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 598 for Short (2.56 sec)

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

    -- go.mod --
    module use
    
    go 1.16
    
    require (
    	short v0.0.0
    	multiline v0.0.0
    	long v0.0.0
    	unprintable v0.0.0
    )
    
    replace (
    	short v0.0.0 => ./short
    	multiline v0.0.0 => ./multiline
    	long v0.0.0 => ./long
    	unprintable v0.0.0 => ./unprintable
    )
    -- short/go.mod --
    // Deprecated: short
    module short
    
    go 1.16
    -- short/short.go --
    package short
    -- multiline/go.mod --
    // Deprecated: first line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_runs.txt

    [compiler:gccgo] skip 'gccgo has no cover tool'
    [short] skip
    
    go test -short -coverpkg=strings strings regexp
    ! stdout '[^0-9]0\.0%'
    stdout  'strings.*coverage:.*[1-9][0-9.]+%'
    stdout  'regexp.*coverage:.*[1-9][0-9.]+%'
    
    go test -short -cover strings math regexp
    ! stdout '[^0-9]0\.0%'
    stdout  'strings.*coverage:.*[1-9][0-9.]+%'
    stdout  'math.*coverage:.*[1-9][0-9.]+%'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 413 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_modes.txt

    # and should merge coverage profiles correctly.
    
    [short] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    go test -short -cover encoding/binary errors -coverprofile=$WORK/cover.out
    ! stderr '[^0-9]0\.0%'
    ! stdout '[^0-9]0\.0%'
    
    grep -count=1 '^mode: set$' $WORK/cover.out
    grep 'errors\.go' $WORK/cover.out
    grep 'binary\.go' $WORK/cover.out
    
    [!race] stop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 678 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_cgo.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code.
    
    go test -short -cover cgocover
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover
    
    go 1.16
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    
    var b bool
    
    func F() {
    	if b {
    		for {
    		}
    	}
    	C.f()
    }
    -- p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 423 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_retract.txt

    # 'go list pkg' does not report an error when a retracted version is used.
    go list -e -f '{{if .Error}}{{.Error}}{{end}}' ./use
    ! stdout .
    cmp go.mod go.mod.orig
    
    # Nor does 'go build'.
    [!short] go build ./use
    [!short] ! stderr .
    [!short] cmp go.mod go.mod.orig
    
    # Neither 'go list' nor 'go build' should download go.mod from the version
    # that would list retractions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_lazy_test_of_test_dep.txt

    # not update the go.mod file.
    
    go list -test -deps example.com/a
    stdout example.com/b
    ! stdout example.com/c
    
    [!short] go test -c -o $devnull example.com/a
    [!short] cmp go.mod go.mod.old
    
    go list -test -deps example.com/b
    stdout example.com/c
    
    [!short] go test -c -o $devnull example.com/b
    [!short] cmp go.mod go.mod.old
    
    go mod edit -go=1.17 a/go.mod
    go mod edit -go=1.17 b1/go.mod
    go mod edit -go=1.17 b2/go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 08 19:32:28 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/dumper_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syntax
    
    import (
    	"testing"
    )
    
    func TestDump(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode")
    	}
    
    	ast, _ := ParseFile(*src_, func(err error) { t.Error(err) }, nil, CheckBranches)
    
    	if ast != nil {
    		Fdump(testOut(), ast)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:31 UTC 2022
    - 424 bytes
    - Viewed (0)
  8. src/cmd/go/internal/test/testflag.go

    			exitWithUsage()
    		}
    
    		if short := strings.TrimPrefix(f.Name, "test."); passFlagToTest[short] {
    			explicitArgs = append(explicitArgs, fmt.Sprintf("-test.%s=%v", short, f.Value))
    
    			// This flag has been overridden explicitly, so don't forward its implicit
    			// value from GOFLAGS.
    			delete(addFromGOFLAGS, short)
    			delete(addFromGOFLAGS, "test."+short)
    		}
    
    		args = remainingArgs
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/codehost/git_test.go

    	}
    	vcsName := "git"
    	for _, k := range []string{"hg"} {
    		if strings.Contains(remote, "/"+k+"/") {
    			vcsName = k
    		}
    	}
    	if testing.Short() && vcsName == "hg" {
    		t.Skipf("skipping hg test in short mode: hg is slow")
    	}
    	testenv.MustHaveExecPath(t, vcsName)
    	if runtime.GOOS == "android" && strings.HasSuffix(testenv.Builder(), "-corellium") {
    		testenv.SkipFlaky(t, 59940)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cgo_stale_precompiled.txt

    # (See https://go.dev/issue/50892.)
    #
    # If running in non-short mode, explicitly vary CGO_CFLAGS
    # as a control case (to ensure that our regexps do catch rebuilds).
    
    [!short] env GOCACHE=$WORK/cache
    [!short] env CGO_CFLAGS=-DTestScript_cgo_stale_precompiled=true
    go build -x runtime/cgo
    [!short] stderr '[/\\]cgo'$GOEXE'["]? .* -importpath runtime/cgo'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top