diff options
Diffstat (limited to 'test/fixedbugs/bug369.go')
-rw-r--r-- | test/fixedbugs/bug369.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/fixedbugs/bug369.go b/test/fixedbugs/bug369.go index 4d98e8508..6d526228b 100644 --- a/test/fixedbugs/bug369.go +++ b/test/fixedbugs/bug369.go @@ -2,6 +2,9 @@ // $G -o fast.$A $D/bug369.dir/pkg.go && // run +// NOTE: This test is not run by 'run.go' and so not run by all.bash. +// To run this test you must use the ./run shell script. + // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. @@ -35,9 +38,9 @@ func BenchmarkSlowNonASCII(b *testing.B) { } func main() { - os.Args = []string{os.Args[0], "-test.benchtime=0.1"} + os.Args = []string{os.Args[0], "-test.benchtime=100ms"} flag.Parse() - + rslow := testing.Benchmark(BenchmarkSlowNonASCII) rfast := testing.Benchmark(BenchmarkFastNonASCII) tslow := rslow.NsPerOp() |