Start porting our test scripts to Python. Add ctest support.
authorGerald Combs <gerald@wireshark.org>
Tue, 3 Apr 2018 00:12:23 +0000 (17:12 -0700)
committerGerald Combs <gerald@wireshark.org>
Thu, 26 Apr 2018 19:27:19 +0000 (19:27 +0000)
commit0ad423924992f8504b3e75980e1e9efb65d84214
tree5b9039f1ba272037c10528860b28a99272908620
parentf9522d8a23a375ddc8bd39cf556002cdec346ab1
Start porting our test scripts to Python. Add ctest support.

Create Python versions of our various test shell scripts. Add CMake
tests for each suite. Tests can now be run directly via test.py, via the
"test" target, or via ctest, e.g.

  ctest --verbose --jobs 3

Add a testing chapter to the Developer's Guide.

Add a way to disable ctest in dpkg-buildpackage.

Suites completed:
- capture
- clopts
- decryption
- dissection

Remaining suites:
- fileformats
- io
- mergecap
- nameres
- text2pcap
- unittests
- wslua

Change-Id: I8936e05edefc76a86b6a7a5da302e7461bbdda0f
Reviewed-on: https://code.wireshark.org/review/27134
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
14 files changed:
CMakeLists.txt
debian/rules
docbook/developer-guide.asciidoc
docbook/wsdg_src/WSDG_chapter_tests.asciidoc [new file with mode: 0644]
test/README.test
test/config.py [new file with mode: 0644]
test/subprocesstest.py [new file with mode: 0644]
test/suite-decryption.sh
test/suite_capture.py [new file with mode: 0644]
test/suite_clopts.py [new file with mode: 0644]
test/suite_decryption.py [new file with mode: 0644]
test/suite_dissection.py [new file with mode: 0644]
test/test.py [new file with mode: 0755]
test/util_slow_dhcp_pcap.py [new file with mode: 0644]