]> Cypherpunks repositories - gostls13.git/commit
test: eliminate use of Perl in test/fixedbugs/bug248.go
authorYury Smolsky <yury@smolsky.by>
Sat, 26 May 2018 09:57:50 +0000 (12:57 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 26 May 2018 15:20:42 +0000 (15:20 +0000)
commitcb80c28961a884844020ecc027b44c6b00745702
tree5fafdd1369e413fc66f8e8154982b0ec36808506
parentf7b625e4cb363c23ed5c8c144ee7d06c4136a0eb
test: eliminate use of Perl in test/fixedbugs/bug248.go

This change enables bug248 to be tested with Go code.
For that, it adds a flag -1 to error check and run directory
with one package failing compilation prior the last package
which should be run.

Specifically, the "p" package in bug1.go file was renamed into "q"
to compile them in separate steps,
bug2.go and bug3.go files were reordered,
bug2.go was changed into non-main package.

Updates #25586.

Change-Id: Ie47aacd56ebb2ce4eac66c792d1a53e1e30e637c
Reviewed-on: https://go-review.googlesource.com/114818
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
test/fixedbugs/bug248.dir/bug1.go
test/fixedbugs/bug248.dir/bug2.go
test/fixedbugs/bug248.dir/bug3.go
test/fixedbugs/bug248.go
test/run.go