From 44187d369e5b133e42480e86330e9f6bc4bc366a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Stemmer?= Date: Thu, 31 Mar 2022 00:46:01 +0100 Subject: [PATCH] Add testcase for failed and skipped benchmarks --- testdata/036-benchfail.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 testdata/036-benchfail.txt diff --git a/testdata/036-benchfail.txt b/testdata/036-benchfail.txt new file mode 100644 index 0000000..26222b7 --- /dev/null +++ b/testdata/036-benchfail.txt @@ -0,0 +1,15 @@ +goos: linux +goarch: amd64 +pkg: package/name/benchfail +BenchmarkError + bench_test.go:6: error message +--- FAIL: BenchmarkError +BenchmarkFatal + bench_test.go:10: fatal message +--- FAIL: BenchmarkFatal +BenchmarkSkip + bench_test.go:14: skip message +--- SKIP: BenchmarkSkip +FAIL +exit status 1 +FAIL package/name/benchfail 0.002s