URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0ad423924992f8504b3e75980e1e9efb65d84214
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
0ad4239 by Gerald Combs (gerald@xxxxxxxxxxxxx):
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@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from f9522d8 Qt: fix crash on dragging in packet dialog
adds 0ad4239 Start porting our test scripts to Python. Add ctest support.
Summary of changes:
CMakeLists.txt | 34 +-
debian/rules | 8 +
docbook/developer-guide.asciidoc | 2 +
docbook/wsdg_src/WSDG_chapter_tests.asciidoc | 170 +++++++++
test/README.test | 88 +----
test/config.py | 186 ++++++++++
test/subprocesstest.py | 206 +++++++++++
test/suite-decryption.sh | 32 +-
test/suite_capture.py | 321 +++++++++++++++++
test/suite_clopts.py | 176 ++++++++++
test/suite_decryption.py | 496 +++++++++++++++++++++++++++
test/suite_dissection.py | 30 ++
test/test.py | 120 +++++++
test/util_slow_dhcp_pcap.py | 23 ++
14 files changed, 1802 insertions(+), 90 deletions(-)
create mode 100644 docbook/wsdg_src/WSDG_chapter_tests.asciidoc
create mode 100644 test/config.py
create mode 100644 test/subprocesstest.py
create mode 100644 test/suite_capture.py
create mode 100644 test/suite_clopts.py
create mode 100644 test/suite_decryption.py
create mode 100644 test/suite_dissection.py
create mode 100755 test/test.py
create mode 100644 test/util_slow_dhcp_pcap.py