4 All tests can be run with `make test`. This will run all scripts that
5 end with `-test` in the `test` folder and summarize the test results
6 using the script `test/tools/show-results.sh`.
8 To run individual tests, use `make <path-to-test>` e.g. `make
9 test/tigrc/parse-test`. Alternatively, tests can be run directly via the
10 test scripts as long as `PATH` is set to include the directories `src/`
11 and `test/tools`. The latter directory is where the test helper
12 libraries are located, the most important of which is `libtest.sh`.
17 Tests can be configured by setting the `TEST_OPTS` environment variable.
18 The variable should contain a space-separated list of options. The
19 following options are supported:
23 Whether to print individual test results even when all
24 assertions passed. The default is to not results for passed
29 Do not indent test output. This is automatically set depending
30 on whether `V=1` was passed to `make` to show verbose output.
34 Invoke tig via a debugger, for example `debugger=lldb`. Remember
35 to recompile using `make clean all-debug` to expose all symbols.
39 Show trace information.