Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-412

The CMake build file should be able to build the test artifacts using pre-built binaries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • JDG 7.0.0 ER7
    • JDG 7.0.0 ER6
    • HotRod C++ client
    • None

      In order to execute the tests, the test artifacts need to be built. Besides being able to run the tests, building the artifacts verifies that the pre-built libraries and executables included in the client distribution will work the way that a customer will use them. This involves the following in the CMake files on both Linux and Windows:

      • Finding any required libraries (i.e. HotRod, OpenSSL, or Protobuf)
      • Finding any required executables (i.e. Protobuf Compiler)
      • Finding any required header files (i.e. OpenSSL or Protobuf)
      • Compiling the test executables and compiling Protobuf files using these required objects

      The HOTROD_PREBUILT_LIB_DIR property in CMakeLists.txt is used to achieve this, but it has not worked since OpenSSL and Protobuf dependencies were added to the client.

        1. build.log
          1.68 MB
        2. CMakeLists.txt
          33 kB
        3. swig.cmake
          4 kB

              vrigamon@redhat.com Vittorio Rigamonti
              rhn-support-afield Alan Field
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: