[
https://issues.apache.org/jira/browse/PLC4X-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christofer Dutz resolved PLC4X-150.
-----------------------------------
Resolution: Fixed
I updated the Junit annotations checks to detect.
> Make the testsuite detect if LibPCAP or WinPcap is installed
> ------------------------------------------------------------
>
> Key: PLC4X-150
> URL: https://issues.apache.org/jira/browse/PLC4X-150
> Project: Apache PLC4X
> Issue Type: Improvement
> Components: Testing
> Affects Versions: 0.5.0
> Reporter: Christofer Dutz
> Assignee: Christofer Dutz
> Priority: Major
> Fix For: 0.7.0
>
>
> Right now the testsuite expects some libpcap or winpcap to be installed. The
> tests will fail if this is not the case. However these libs are only required
> for passive mode drivers or sub TCP/UDP drivers. As having libpcap or winpcap
> installed is theoretically a legal problem in some countries, we shouldn't
> force people to install it.
> By creating some auto-detectors for enabling the pcap tests only if the lib
> is available, this would simplify things.
> Also on windows it seems to be problematic to connect to use the loopback
> device. So it would also be good to detect the version of libpcap and to
> disable individual tests based on this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)