aboutsummaryrefslogtreecommitdiffstats
path: root/test/README.test
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-05-01 15:49:11 -0700
committerAnders Broman <a.broman58@gmail.com>2018-05-02 04:09:26 +0000
commit58da452d223c47a9c308b8407d2e0b89f766e568 (patch)
tree7fa54041bfbd4a398f5338fc8c41ac32f9276f4a /test/README.test
parentcd94b1cb8edda0b947e920a1a45c868b254284fd (diff)
Test: Remove the Bash test scripts.
They've been replaced by the Python scripts. Change-Id: I8add9c9ea0a6bdd68b2fa3841977863c0ea9a761 Reviewed-on: https://code.wireshark.org/review/27243 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'test/README.test')
-rw-r--r--test/README.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/README.test b/test/README.test
index efc8f1ea1b..ef484348cc 100644
--- a/test/README.test
+++ b/test/README.test
@@ -3,13 +3,15 @@ Wireshark Tests
The main testing script is `test.py`. It will attempt to test as much as
possible by default, including packet capture. This means that you will
probably either have to supply a capture interface (`--capture-interface
-<interface>`) or disable capture tests (`--disable-capture`).
+<interface>`) or disable capture tests (`--disable-capture`). You must
+also build the test-programs target in order for the unittests suite to
+pass.
To run all tests from CMake do the following:
- Pass `-DTEST_EXTRA_ARGS=--disable-capture` or
`-DTEST_EXTRA_ARGS=--capture-interface=<interface>`
as needed for your system.
-- Build the “test” target or run ctest, e.g. `ctest --jobs=4 --verbose`.
+- Build the “test” target or run ctest, e.g. `ctest --force-new-ctest-process -j 4 --verbose`.
To run all tests directly, run `test.py -p
/path/to/wireshark-build/run-directory <capture args>`.