commit | e014cf0e545ca16abfd2a80d541750c6a3809082 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Fri Feb 24 13:17:26 2012 +1100 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Feb 24 13:17:26 2012 +1100 |
tree | 0ea13eea0ca3f46b15fb88fb6e93cee73775541c | |
parent | 5cff0299931d9f114ca3b3f40aa1e5bb62e2ad08 [diff] [blame] |
test: add cmpout to testlib R=golang-dev, r CC=golang-dev https://golang.org/cl/5699060
diff --git a/test/run.go b/test/run.go index 4d4488a..3ba35f9 100644 --- a/test/run.go +++ b/test/run.go
@@ -238,6 +238,9 @@ action = strings.TrimSpace(action) switch action { + case "cmpout": + action = "run" // the run case already looks for <dir>/<test>.out files + fallthrough case "compile", "build", "run", "errorcheck": t.action = action default: