mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
611 B
ReStructuredText
26 lines
611 B
ReStructuredText
.. Options for developers - unittests.
|
|
|
|
.. option:: -u
|
|
|
|
Run the unit tests and exit. Requires that Suricata be configured
|
|
with *--enable-unittests*.
|
|
|
|
.. option:: -U, --unittest-filter=REGEX
|
|
|
|
With the -U option you can select which of the unit tests you want
|
|
to run. This option uses REGEX. Example of use: suricata -u -U
|
|
http
|
|
|
|
.. option:: --list-unittests
|
|
|
|
Lists available unit tests.
|
|
|
|
.. option:: --fatal-unittests
|
|
|
|
Enables fatal failure on a unit test error. Suricata will exit
|
|
instead of continuing more tests.
|
|
|
|
.. option:: --unittests-coverage
|
|
|
|
Display unit test coverage report.
|