Commit 7e9f420d authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

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/31859Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent c63db157
...@@ -1295,7 +1295,7 @@ func TestBug3486(t *testing.T) { // https://golang.org/issue/3486 ...@@ -1295,7 +1295,7 @@ func TestBug3486(t *testing.T) { // https://golang.org/issue/3486
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
bugs := filepath.Join(root, "bugs") bugs := filepath.Join(root, "fixedbugs")
ken := filepath.Join(root, "ken") ken := filepath.Join(root, "ken")
seenBugs := false seenBugs := false
seenKen := false seenKen := false
...@@ -1310,7 +1310,7 @@ func TestBug3486(t *testing.T) { // https://golang.org/issue/3486 ...@@ -1310,7 +1310,7 @@ func TestBug3486(t *testing.T) { // https://golang.org/issue/3486
return filepath.SkipDir return filepath.SkipDir
case ken: case ken:
if !seenBugs { if !seenBugs {
t.Fatal("filepath.Walk out of order - ken before bugs") t.Fatal("filepath.Walk out of order - ken before fixedbugs")
} }
seenKen = true seenKen = true
} }
......
// 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
}
}
This file keeps Mercurial from deleting the directory
when there are no known bugs.
...@@ -52,7 +52,7 @@ var ( ...@@ -52,7 +52,7 @@ var (
// dirs are the directories to look for *.go files in. // dirs are the directories to look for *.go files in.
// TODO(bradfitz): just use all directories? // 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 controls the max number of tests running at a time.
ratec chan bool ratec chan bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment