[lldb/Docs] Elaborate on reproducer testing
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 9 Apr 2020 00:35:05 +0000 (17:35 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 9 Apr 2020 03:10:52 +0000 (20:10 -0700)
lldb/docs/resources/reproducers.rst

index c20c298..3475ad5 100644 (file)
@@ -98,25 +98,28 @@ Testing
 
 Reproducers are tested in the following ways:
 
- - Unit tests to cover the generic reproducer infrastructure.
- - Focused test cases in the ``test/Shell/Reproducer`` directory. These tests
-   serve as integration tests for the reproducers infrastructure, as well as
-   doing some sanity checking for basic debugger functionality.
-
-Additional testing is possible:
-
- - It's possible to unconditionally capture reproducers while running the
-   entire test suite by setting the ``LLDB_CAPTURE_REPRODUCER`` environment
-   variable. Assuming the reproducers behave correctly, this can also help to
-   reproduce test failures.
- - It's possible to run the shell tests from a reproducer replay. The
+ - Unit tests to cover the reproducer infrastructure. There are tests for the
+   provider, loader and for the reproducer instrumentation.
+ - Feature specific end-to-end test cases in the ``test/Shell/Reproducer``
+   directory. These tests serve as integration and regression tests for the
+   reproducers infrastructure, as well as doing some sanity checking for basic
+   debugger functionality.
+ - The shell tests can be run against a reproducer replay. The
    ``check-lldb-repro`` target will run the shell test suite twice. First it
    runs the test suite and captures a reproducer for every lldb invocation and
    saves it to a known location based off lldb's arguments and  working
    directory. Then it runs the test suite again, this time replaying the
    reproducers. Certain tests do not fit this paradigm (for example test that
-   check the output of the binary being debugged) and can be skipped by setting
-   ``UNSUPPORTED: lldb-repro`` at the top of the test.
+   check the output of the binary being debugged) and are skipped by marking
+   them as unsupported by adding ``UNSUPPORTED: lldb-repro`` to the top of the
+   test.
+
+Additional testing is possible:
+
+ - It's possible to unconditionally capture reproducers while running the
+   entire test suite by setting the ``LLDB_CAPTURE_REPRODUCER`` environment
+   variable. Assuming no bugs in reproducers, this can also help to reproduce
+   and investigate test failures.
 
 Knows Issues
 ------------