Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite3_test.go: Fix go test -run=...: Use standard sub-tests #881

Merged
merged 1 commit into from Oct 25, 2021

Commits on Nov 16, 2020

  1. sqlite3_test.go: Fix go test -run=...: Use standard sub-tests

    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.
    evanj committed Nov 16, 2020
    Copy the full SHA
    6966ca0 View commit details
    Browse the repository at this point in the history