Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fuzztime (0.08 sec)

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

    [!fuzz] skip
    [!cgo] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # Test that fuzzing works with cgo (issue 65169)
    
    go test -fuzz=. -fuzztime=1x
    stdout ok
    ! stdout FAIL
    
    -- go.mod --
    module example.com/p
    
    go 1.20
    -- c.go --
    package p
    
    import "C"
    -- c_test.go --
    package p
    
    import "testing"
    
    func Fuzz(f *testing.F) {
    	f.Add(0)
    	f.Fuzz(func(t *testing.T, x int) {})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 364 bytes
    - Viewed (0)
  2. src/cmd/go/alldocs.go

    //	    section of the testing package documentation for details.
    //
    //	-fuzztime t
    //	    Run enough iterations of the fuzz target during fuzzing to take t,
    //	    specified as a time.Duration (for example, -fuzztime 1h30s).
    //		The default is to run forever.
    //	    The special syntax Nx means to run the fuzz target N times
    //	    (for example, -fuzztime 1000x).
    //
    //	-fuzzminimizetime t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top