Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fuzzminimizetime (0.21 sec)

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

    ! stdout '^ok'
    ! stdout 'contains a non-zero byte'
    stdout 'invalid count'
    stdout FAIL
    
    # Test that fuzzminimizetime can be zero seconds, and minimization is disabled
    ! go test -fuzz=FuzzMinimizeZeroDurationSet -run=FuzzMinimizeZeroDurationSet -fuzztime=10000x -fuzzminimizetime=0s .
    ! stdout '^ok'
    ! stdout 'minimizing'
    stdout 'there was an Error'
    stdout FAIL
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 16:15:36 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt

    ! go test -run=FuzzWithNilPanic -fuzz=FuzzWithNilPanic -fuzztime=100x -fuzzminimizetime=1000x
    stdout 'testdata[/\\]fuzz[/\\]FuzzWithNilPanic[/\\]'
    stdout 'panic called with nil argument|test executed panic.nil. or runtime.Goexit'
    go run check_testdata.go FuzzWithNilPanic
    
    ! go test -run=FuzzWithGoexit -fuzz=FuzzWithGoexit -fuzztime=100x -fuzzminimizetime=1000x
    stdout 'testdata[/\\]fuzz[/\\]FuzzWithGoexit[/\\]'
    stdout 'runtime.Goexit'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    # This fuzz function creates a file with a unique name ($pid.$count) on each
    # run. We count the files to find the number of runs.
    mkdir count
    go test -fuzz=FuzzTestCount -fuzztime=1000x -fuzzminimizetime=1x
    go run check_file_count.go count 1000
    
    # When we use fuzzminimizetime with an "x" suffix, it runs a specific number of
    # times while minimizing. This fuzz function creates a file with a unique name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/flagdefs.go

    	"coverprofile":         true,
    	"cpu":                  true,
    	"cpuprofile":           true,
    	"failfast":             true,
    	"fullpath":             true,
    	"fuzz":                 true,
    	"fuzzminimizetime":     true,
    	"fuzztime":             true,
    	"list":                 true,
    	"memprofile":           true,
    	"memprofilerate":       true,
    	"mutexprofile":         true,
    	"mutexprofilefraction": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_mutator_repeat.txt

    # The fuzz function writes the crashing input to "want" before exiting.
    # The fuzzing engine reconstructs the crashing input and saves it to testdata.
    ! exists want
    ! go test -fuzz=. -parallel=1 -fuzztime=110x -fuzzminimizetime=10x -v
    stdout '^\s+fuzzing process hung or terminated unexpectedly: exit status'
    stdout 'Failing input written to testdata'
    
    # Run the fuzz target without fuzzing. The fuzz function is called with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/testflag.go

    	cf.String("run", "", "")
    	cf.Bool("short", false, "")
    	cf.String("skip", "", "")
    	cf.DurationVar(&testTimeout, "timeout", 10*time.Minute, "") // known to cmd/dist
    	cf.String("fuzztime", "", "")
    	cf.String("fuzzminimizetime", "", "")
    	cf.StringVar(&testTrace, "trace", "", "")
    	cf.Var(&testV, "v", "")
    	cf.Var(&testShuffle, "shuffle", "")
    
    	for name, ok := range passFlagToTest {
    		if ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/test.go

    	    (for example, -fuzztime 1000x).
    
    	-fuzzminimizetime t
    	    Run enough iterations of the fuzz target during each minimization
    	    attempt to take t, as specified as a time.Duration (for example,
    	    -fuzzminimizetime 30s).
    		The default is 60s.
    	    The special syntax Nx means to run the fuzz target N times
    	    (for example, -fuzzminimizetime 100x).
    
    	-json
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. src/testing/fuzz.go

    	matchFuzz = flag.String("test.fuzz", "", "run the fuzz test matching `regexp`")
    	flag.Var(&fuzzDuration, "test.fuzztime", "time to spend fuzzing; default is to run indefinitely")
    	flag.Var(&minimizeDuration, "test.fuzzminimizetime", "time to spend minimizing a value after finding a failing input")
    
    	fuzzCacheDir = flag.String("test.fuzzcachedir", "", "directory where interesting fuzzing inputs are stored (for use only by cmd/go)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. src/cmd/go/alldocs.go

    //	    (for example, -fuzztime 1000x).
    //
    //	-fuzzminimizetime t
    //	    Run enough iterations of the fuzz target during each minimization
    //	    attempt to take t, as specified as a time.Duration (for example,
    //	    -fuzzminimizetime 30s).
    //		The default is 60s.
    //	    The special syntax Nx means to run the fuzz target N times
    //	    (for example, -fuzzminimizetime 100x).
    //
    //	-json
    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