1
0
mirror of https://github.com/golang/go synced 2024-11-23 17:30:02 -07:00
go/src/testing
Guoqi Chen 6a1182027c internal/sysinfo: print cpu type from cpuinfo when internal cpu name is empty on Linux
Supports all linux operating systems. currently tested on x86, mips64le and loong64.

Example output:
$ go test -bench=.*
goos: linux
goarch: loong64
pkg: runtime
cpu: Loongson-3A5000-HV @ 2500.00MHz
BenchmarkSemTable/OneAddrCollision/n=1000         	   19261	     62302 ns/op
    ...

Change-Id: I02db12d70c11327e4625bb6e59f30dfaf37c2db0
Reviewed-on: https://go-review.googlesource.com/c/go/+/508735
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Bypass: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
2023-08-17 21:40:36 +00:00
..
fstest testing/fstest: fix the Glob test when dir entries are out of order 2023-06-16 18:21:40 +00:00
internal/testdeps
iotest
quick database/sql,testing/quick: use reflect.Value.SetZero 2023-04-04 07:16:34 +00:00
slogtest testing/slogtest: reword a confusing explanation 2023-08-07 18:23:51 +00:00
allocs_test.go
allocs.go
benchmark_test.go
benchmark.go internal/sysinfo: print cpu type from cpuinfo when internal cpu name is empty on Linux 2023-08-17 21:40:36 +00:00
cover.go cmd/go,testing: re-implement testing.Coverage 2023-05-23 11:37:31 +00:00
example.go testing: enforce -skip in example tests 2023-07-21 21:37:46 +00:00
export_test.go
flag_test.go testing: quote -test.v=test2json output when logging it 2023-03-23 19:50:22 +00:00
fuzz.go
helper_test.go
helperfuncs_test.go
match_test.go
match.go all: use built-in clear to clear maps 2023-07-27 22:07:13 +00:00
newcover.go cmd/go,testing: re-implement testing.Coverage 2023-05-23 11:37:31 +00:00
panic_test.go
run_example_wasm.go all: add wasip1 support 2023-04-11 20:56:32 +00:00
run_example.go all: add wasip1 support 2023-04-11 20:56:32 +00:00
sub_test.go
testing_other.go
testing_test.go Revert "testing: only report subtest races once" 2023-05-24 17:35:45 +00:00
testing_windows.go
testing.go Revert "testing: only report subtest races once" 2023-05-24 17:35:45 +00:00