]> Cypherpunks repositories - gostls13.git/commit
testing: improve B.Loop test
authorAustin Clements <austin@google.com>
Fri, 13 Dec 2024 02:17:04 +0000 (21:17 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 16 Dec 2024 05:41:26 +0000 (21:41 -0800)
commitc1f2542c8bef27872a95efd7904afeeee36fe976
tree62d8bc0d9fa34a8480755144e73258f262c71a49
parent6bd56fcaebde61eb6bd21906a7d7136d009be4a6
testing: improve B.Loop test

This moves the B.Loop test from package testing_test to package
testing, where it can check on more of the internals of the benchmark
state.

Updates #61515.

Change-Id: Ia32d7104526125c5e8a1e35dab7660008afcbf80
Reviewed-on: https://go-review.googlesource.com/c/go/+/635897
Auto-Submit: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/testing/benchmark_test.go
src/testing/loop_test.go [new file with mode: 0644]