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

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

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nna Nicholas Avramoussis
              Watchers:
              Dan Bailey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: