]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix reporting of test cycles to have proper order
authorMichael Matloob <matloob@google.com>
Wed, 24 May 2023 18:59:01 +0000 (14:59 -0400)
committerMichael Matloob <matloob@golang.org>
Thu, 25 May 2023 19:18:23 +0000 (19:18 +0000)
commit11bb2922fbb8440e8d2f3e0284c7a327ec0234a5
treef2a057cc9070aa5cb8aeddd43e921e0d67216b2b
parent789701e93a6f0063b6ef2c52c0557c672553d0e2
cmd/go: fix reporting of test cycles to have proper order

and begin and end with the same package to demonstrate the cyclical
nature of the stack. Also fix the list_test_cycle script test
which was testing for the wrong behavior.

Fixes #59970

Change-Id: I3b3ee6762ee121fec19688ff1823cdfddae94f53
Reviewed-on: https://go-review.googlesource.com/c/go/+/498115
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/load/test.go
src/cmd/go/testdata/script/list_test_cycle.txt