Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-150

Make the testsuite detect if LibPCAP or WinPcap is installed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.7.0
    • Testing
    • None

    Description

      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.

      Attachments

        Activity

          People

            cdutz Christofer Dutz
            cdutz Christofer Dutz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: