diff options
author | Evan Jones <evan.jones@datadoghq.com> | 2021-10-25 11:24:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 00:24:46 +0900 |
commit | a4fc68a6cbf6144b492b97440471ce8d4ab42b66 (patch) | |
tree | 80b2f7d3958ac80c1698867c2b4ca17478191f4b /upgrade/upgrade.go | |
parent | change angle bracket import to quotes (#868) (diff) | |
download | golite-a4fc68a6cbf6144b492b97440471ce8d4ab42b66.tar.gz golite-a4fc68a6cbf6144b492b97440471ce8d4ab42b66.tar.xz |
sqlite3_test.go: Fix go test -run=...: Use standard sub-tests (#881)
Selecting only some tests with go test -run=... does not work, because
some of the tests are executed using testing.RunTests(). That function
is documented as "an internal function". This changes TestSuite to use
the testing subtests feature instead.
This has a behaviour change: the benchmarks now need to be
selected at the command line with the standard go test -bench=.
flag. This will also set up the test database twice when running
benchmarks, rather than once.
Diffstat (limited to 'upgrade/upgrade.go')
0 files changed, 0 insertions, 0 deletions