Uploaded image for project: 'OpenVDB'
  1. OpenVDB
  2. OVDB-78

Blosc v1.14/1.16 Compilation/Errors in Unit Tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • Core
    • None

      The unit tests currently don't build with blosc >= 1.14 and fail in blosc 1.16 (they may also fail in 1.14 but I've not tested this). This is on macos with clang++. 

      To fix compilation issues, the following need to be added to TestFile.cc (line 2559):

      #if BLOSC_VERSION_MAJOR == 1 && BLOSC_VERSION_MINOR < 14 || BLOSC_VERSION_MAJOR < 1
              char* compname = nullptr;
      #else
              const char* compname = nullptr;
      #endif
              if (0 > blosc_compcode_to_compname(compcode, &compname)) continue;
      

      The current unit test error is as follows:

      Test name: TestStreamCompression::testPageStreams
      equality assertion failed

      • Expected : 5400
      • Actual : 4422

      More investigation to follow

            Unassigned Unassigned
            nna nna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: