You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remove experimental status on shared memory support
* new test infra
* increase parallelism and reduce waste
* clean up list of tests to run
* use my version of space maximizer to workaround bugs in upstream
* fix deadlock in shard_log_write
* make clockcache_get_free_page always succeed
* fix log_test --perf forced failure exit code
---------
Signed-off-by: Rob Johnson <rob@robjohnson.io>
Copy file name to clipboardExpand all lines: docs/testing.md
+4-16Lines changed: 4 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,28 +7,16 @@ _Audience: All users and contributors._
7
7
8
8
9
9
## Testing Overview
10
-
In CI, we execute these tests against the following build modes
11
-
- All tests on optimized and debug builds using clang
12
-
- All tests on optimized and debug builds using gcc
13
-
- All tests using address-sanitizer debug builds using the clang compiler
14
-
- All tests using memory-sanitizer debug builds using the gcc compiler
15
-
- clang-format checks
16
-
-[shellcheck](https://www.shellcheck.net) and shfmt checks run against shell scripts
17
-
18
-
To run a small collection of unit-tests to give you a very quick
19
-
baseline stability of the library, do: `$ make run-tests`
10
+
To run the full test-suite, do: `$ make run-tests` or `$make test-results`. The former runs the tests and outputs the results to the terminal. The `test-results` target generates a file with the test results.
20
11
21
12
The [`make run-tests`](../Makefile#:~:text=run%2Dtests) target invokes the
22
13
underlying [`test.sh`](../test.sh) script to run quick tests.
23
14
24
-
To execute a larger set of tests, including functional and performance tests,
25
-
you can do one of the following:
26
-
15
+
To execute a smaller set of tests, you can do the following:
27
16
```shell
28
-
$ make test-results
29
-
$ INCLUDE_SLOW_TESTS=true make run-tests
30
-
$ INCLUDE_SLOW_TESTS=true ./test.sh
17
+
$ TESTS_FUNCTION=<func> make <test-results | run-tests>
31
18
```
19
+
See `test.sh` for valid values for `TESTS_FUNCTION`.
32
20
33
21
In CI, all test execution is driven by the top-level [test.sh](../test.sh)
34
22
script, which exercises individual build artifacts produced for testing, as
0 commit comments