test: do not silently ignore feature detection failures
authorPeter Wu <peter@lekensteyn.nl>
Thu, 26 Jul 2018 21:47:20 +0000 (23:47 +0200)
committerPeter Wu <peter@lekensteyn.nl>
Thu, 26 Jul 2018 23:16:04 +0000 (23:16 +0000)
commit9ca8a9f87c4e340f7e4d44c4c32dfc74afec29fa
treefb4c59c3a0d254ac15311c8a34a64f68182fe914
parent99242affde4b51cd62f4b6a822fa7f5941e1c3f7
test: do not silently ignore feature detection failures

When ASAN memleak detection is enabled, any memory leak would result in
an exception and subsequently all features are marked as missing.
With the default profile, any Lua plugin or certain configurations could
cause a memory leak. To avoid such interference, set the configuration
path to a dummy location and warn whenever an error happens nonetheless.

Do not call setProgramPath() immediately, there is no "tshark" binary in
the current working directory anymore. Rely on test.py to set the path.

Change-Id: Idccc3d68eb6f6bb64d3a0b32897acecc65e0dfb6
Reviewed-on: https://code.wireshark.org/review/28867
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
test/config.py