]> Cypherpunks repositories - gostls13.git/commit
strings: do much less redundant testing in TestCompareStrings
authorIan Lance Taylor <iant@golang.org>
Sun, 1 Jul 2018 22:01:09 +0000 (15:01 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 2 Jul 2018 14:39:29 +0000 (14:39 +0000)
commit869884daead156d0e5a4093d91968ed172d4d2d0
treef38b637501bea4a9ceaf94c057e5ddcd12e3d95c
parent5110d19fc2986b702ba0cfcbeacfe692154c77b1
strings: do much less redundant testing in TestCompareStrings

On the OpenBSD builder this reduces the test time from 213 seconds to
60 seconds, without loss of testing.

Not sure why the test is so much slower on OpenBSD, so not closing the
issues.

Updates #26155
Updates #26174

Change-Id: I13b58bbe3b209e591c308765077d2342943a3d2a
Reviewed-on: https://go-review.googlesource.com/121820
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ralph Corderoy <ralph@inputplus.co.uk>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/strings/compare_test.go