@@ -98,25 +98,28 @@ Testing
98
98
99
99
Reproducers are tested in the following ways:
100
100
101
- - Unit tests to cover the generic reproducer infrastructure.
102
- - Focused test cases in the ``test/Shell/Reproducer `` directory. These tests
103
- serve as integration tests for the reproducers infrastructure, as well as
104
- doing some sanity checking for basic debugger functionality.
105
-
106
- Additional testing is possible:
107
-
108
- - It's possible to unconditionally capture reproducers while running the
109
- entire test suite by setting the ``LLDB_CAPTURE_REPRODUCER `` environment
110
- variable. Assuming the reproducers behave correctly, this can also help to
111
- reproduce test failures.
112
- - It's possible to run the shell tests from a reproducer replay. The
101
+ - Unit tests to cover the reproducer infrastructure. There are tests for the
102
+ provider, loader and for the reproducer instrumentation.
103
+ - Feature specific end-to-end test cases in the ``test/Shell/Reproducer ``
104
+ directory. These tests serve as integration and regression tests for the
105
+ reproducers infrastructure, as well as doing some sanity checking for basic
106
+ debugger functionality.
107
+ - The shell tests can be run against a reproducer replay. The
113
108
``check-lldb-repro `` target will run the shell test suite twice. First it
114
109
runs the test suite and captures a reproducer for every lldb invocation and
115
110
saves it to a known ___location based off lldb's arguments and working
116
111
directory. Then it runs the test suite again, this time replaying the
117
112
reproducers. Certain tests do not fit this paradigm (for example test that
118
- check the output of the binary being debugged) and can be skipped by setting
119
- ``UNSUPPORTED: lldb-repro `` at the top of the test.
113
+ check the output of the binary being debugged) and are skipped by marking
114
+ them as unsupported by adding ``UNSUPPORTED: lldb-repro `` to the top of the
115
+ test.
116
+
117
+ Additional testing is possible:
118
+
119
+ - It's possible to unconditionally capture reproducers while running the
120
+ entire test suite by setting the ``LLDB_CAPTURE_REPRODUCER `` environment
121
+ variable. Assuming no bugs in reproducers, this can also help to reproduce
122
+ and investigate test failures.
120
123
121
124
Knows Issues
122
125
------------
0 commit comments