wireshark/tools/dftestlib
Peter Wu dbef80f5c7 dfilter-test.py: add OOT support and Python 3 compat
Support WS_BIN_PATH and SOURCE_DIR (modelled after test/config.sh) to
support out-of-tree builds (including cmake). Add Python 3 support and
mention this in the documentation.

Tested with Python 2.7.9, 3.2.6, 3.4.3:

    WS_BIN_PATH=/tmp/wsbuild/run SOURCE_DIR=/tmp/wireshark \
        tools/dfilter-test.py testBytesIPv6

(2.7.9 and 3.4.3 were also tested fully, but some cases seem to fail
even before this patch. 2.5.6 and 2.6.6 do not work because the unittest
module is outdated.)

Change-Id: I13074579f6f74206edb5cd7be8e7a8406de49c56
Reviewed-on: https://code.wireshark.org/review/7793
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-03-25 07:15:36 +00:00
..
__init__.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
bytes_ether.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
bytes_ipv6.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
bytes_type.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
dftest.py dfilter-test.py: add OOT support and Python 3 compat 2015-03-25 07:15:36 +00:00
double.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
integer.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
integer_1byte.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
ipv4.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
range_method.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
scanner.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
string_type.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
stringz.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
time_relative.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
time_type.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
tvb.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
uint64.py Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
util.py dfilter-test.py: add OOT support and Python 3 compat 2015-03-25 07:15:36 +00:00