mirror of https://github.com/golang/go.git
test: delete bugs directory
It appears to be a vestigial holding ground for bugs. But we have an issue tracker, and #1909 is there and open. Change-Id: I912ff222a24c51fab483be0c67dad534f5a84488 Reviewed-on: https://go-review.googlesource.com/31859 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
c63db157bd
commit
7e9f420ddf
|
|
@ -1295,7 +1295,7 @@ func TestBug3486(t *testing.T) { // https://golang.org/issue/3486
|
|||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
bugs := filepath.Join(root, "bugs")
|
||||
bugs := filepath.Join(root, "fixedbugs")
|
||||
ken := filepath.Join(root, "ken")
|
||||
seenBugs := false
|
||||
seenKen := false
|
||||
|
|
@ -1310,7 +1310,7 @@ func TestBug3486(t *testing.T) { // https://golang.org/issue/3486
|
|||
return filepath.SkipDir
|
||||
case ken:
|
||||
if !seenBugs {
|
||||
t.Fatal("filepath.Walk out of order - ken before bugs")
|
||||
t.Fatal("filepath.Walk out of order - ken before fixedbugs")
|
||||
}
|
||||
seenKen = true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
// skip
|
||||
|
||||
// When issue 1909 is fixed, change from skip to compile.
|
||||
|
||||
// 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.
|
||||
|
||||
// Issue 1909
|
||||
// Would OOM due to exponential recursion on Foo's expanded methodset in nodefmt
|
||||
|
||||
package test
|
||||
|
||||
type Foo interface {
|
||||
Bar() interface {
|
||||
Foo
|
||||
}
|
||||
Baz() interface {
|
||||
Foo
|
||||
}
|
||||
Bug() interface {
|
||||
Foo
|
||||
}
|
||||
}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
This file keeps Mercurial from deleting the directory
|
||||
when there are no known bugs.
|
||||
|
|
@ -52,7 +52,7 @@ var (
|
|||
|
||||
// dirs are the directories to look for *.go files in.
|
||||
// TODO(bradfitz): just use all directories?
|
||||
dirs = []string{".", "ken", "chan", "interface", "syntax", "dwarf", "fixedbugs", "bugs"}
|
||||
dirs = []string{".", "ken", "chan", "interface", "syntax", "dwarf", "fixedbugs"}
|
||||
|
||||
// ratec controls the max number of tests running at a time.
|
||||
ratec chan bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue