summaryrefslogtreecommitdiff
path: root/test/bench
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-08 00:06:45 -0400
committerRuss Cox <rsc@golang.org>2014-09-08 00:06:45 -0400
commit73bcb69f272cbf34ddcc9daa56427a8683b5a95d (patch)
treed20bfa495b84f48f23d9a976c038b70427eef2e8 /test/bench
parent45fcda1dc8d9b4d4a9b642faf8e78941873f508d (diff)
downloadgo-73bcb69f272cbf34ddcc9daa56427a8683b5a95d.tar.gz
build: adjustments for move from src/pkg to src
This CL adjusts code referring to src/pkg to refer to src. Immediately after submitting this CL, I will submit a change doing 'hg mv src/pkg/* src'. That change will be too large to review with Rietveld but will contain only the 'hg mv'. This CL will break the build. The followup 'hg mv' will fix it. For more about the move, see golang.org/s/go14nopkg. LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/134570043
Diffstat (limited to 'test/bench')
-rw-r--r--test/bench/garbage/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bench/garbage/parser.go b/test/bench/garbage/parser.go
index d85110b63..a685507c5 100644
--- a/test/bench/garbage/parser.go
+++ b/test/bench/garbage/parser.go
@@ -85,7 +85,7 @@ func main() {
var t0 time.Time
var numGC uint32
var pauseTotalNs uint64
- pkgroot := runtime.GOROOT() + "/src/pkg/"
+ pkgroot := runtime.GOROOT() + "/src/"
for pass := 0; pass < 2; pass++ {
// Once the heap is grown to full size, reset counters.
// This hides the start-up pauses, which are much smaller