Skip to content

Commit 57d40f1

Browse files
Yury Smolskybradfitz
Yury Smolsky
authored andcommitted
test: remove rundircmpout and cmpout actions
This CL removes the rundircmpout action completely because it is not used anywhere. The run case already looks for output files. Rename the cmpout action mentioned in tests to the run action and remove "cmpout" from run.go. Change-Id: I835ceb70082927f8e9360e0ea0ba74f296363ab3 Reviewed-on: https://go-review.googlesource.com/115575 Run-TryBot: Yury Smolsky <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 424c215 commit 57d40f1

20 files changed

+19
-23
lines changed

misc/cgo/life/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout -tags=use_go_run
1+
// run -tags=use_go_run
22

33
// Copyright 2010 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

misc/cgo/stdio/chain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout -tags=use_go_run
1+
// run -tags=use_go_run
22

33
// Copyright 2009 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

misc/cgo/stdio/fib.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout -tags=use_go_run
1+
// run -tags=use_go_run
22

33
// Copyright 2009 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

misc/cgo/stdio/hello.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout -tags=use_go_run
1+
// run -tags=use_go_run
22

33
// Copyright 2009 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/deferprint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2010 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/fixedbugs/bug206.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2009 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/fixedbugs/bug328.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2011 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/fixedbugs/bug409.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2012 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/fixedbugs/issue21887.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2017 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/fixedbugs/issue22683.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2017 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/fixedbugs/issue25322.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2018 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/fixedbugs/issue6899.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2013 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/goprint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2011 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/helloworld.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2009 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/ken/cplx0.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2010 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/ken/string.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2009 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/print.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2014 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/printbig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// cmpout
1+
// run
22

33
// Copyright 2009 The Go Authors. All rights reserved.
44
// Use of this source code is governed by a BSD-style

test/run.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,6 @@ func (t *test) run() {
502502

503503
// TODO: Clean up/simplify this switch statement.
504504
switch action {
505-
case "rundircmpout":
506-
action = "rundir"
507-
case "cmpout":
508-
action = "run" // the run case already looks for <dir>/<test>.out files
509505
case "compile", "compiledir", "build", "builddir", "buildrundir", "run", "buildrun", "runoutput", "rundir", "asmcheck":
510506
// nothing to do
511507
case "errorcheckandrundir":

test/sigchld.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// +build !plan9,!windows
2-
// cmpout
2+
// run
33

44
// Copyright 2009 The Go Authors. All rights reserved.
55
// Use of this source code is governed by a BSD-style

0 commit comments

Comments
 (0)