Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7412

test suite does not build or run in FreeBSD

XMLWordPrintable

    • Sprint 84 (Jan 2022)
    • 1

      Steps to reproduce:

      When building from sources in FreeBSD, simply bootstrap with the 'tests' option and then 'make tests'

      Result:

      The issues I have found so far are:

      • There is no __CONST_SOCKADDR_ARG in FreeBSD, that's a glibc thing.
      • Although the include malloc.h is kind of "dummied" for FreeBSD, there might be other OSes that don't have it.
      • There is no fxstat or xstat in FreeBSD so the tests won't even build.
      • There is no tests/libs/zbxsysinfo/freebsd, only tests/libs/zbxsysinfo/linux so I guess this is an issue too, probably it requires porting but I'm not sure.

      Expected:

      I would expect that at lest the tests can be built and run in FreeBSD. Even if I work around the issues above mentioned, the tests still won't run.


      Not sure if this is the correct place to report this or whether I need to provide additional information. Please let me know.

       

       

       

            vso Vladislavs Sokurenko
            tuxillo Antonio Huete Jimenez
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: